summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 17:00:14 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 17:00:14 +0000
commitec2f559a053177d8fb7f8ffb6c848c5e6134c36f (patch)
treefac6f381ac787375c042780e64dab4204208448d /configure.in
parent82c6b98d543274b6fd68dbb141392b4ffeaa3142 (diff)
Rejigger gettext stuff for 0.11.5
Author: jgg Date: 2003-01-11 07:17:58 GMT Rejigger gettext stuff for 0.11.5
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in14
1 files changed, 8 insertions, 6 deletions
diff --git a/configure.in b/configure.in
index a0ade1c28..f38c5e563 100644
--- a/configure.in
+++ b/configure.in
@@ -169,13 +169,15 @@ rc_GLIBC_VER
rc_LIBSTDCPP_VER
ah_GCC3DEP
-dnl FIXME: There is no reason for this bit to do all the configure tests it
-dnl ends up doing. Maybe replace it with a simple AC_CHECK_HEADER and
-dnl AC_PATH_PROG.
+dnl It used to be that the user could select translations and that could get
+dnl passed to the makefiles, but now that can only work if you use special
+dnl gettext approved makefiles, so this feature is unsupported by this.
ALL_LINGUAS="da de en_GB es fr hu it nl no_NO pl pt_BR ru sv zh_TW"
-AM_GNU_GETTEXT
-AC_DEFINE_UNQUOTED(USE_NLS, $USE_NLS)
-AC_DEFINE_UNQUOTED(USE_INCLUDED_LIBINTL, $USE_INCLUDED_LIBINTL)
+AM_GNU_GETTEXT(external)
+if test x"$USE_NLS" = "xyes"; then
+ AC_DEFINE(USE_NLS)
+fi
+AC_SUBST(USE_NLS)
AC_PATH_PROG(BASH, bash)
AC_OUTPUT(environment.mak:buildlib/environment.mak.in makefile:buildlib/makefile.in,make -s dirs)