]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Complete last patch.
authorBruno Haible <bruno@clisp.org>
Fri, 4 Jan 2002 11:18:44 +0000 (11:18 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 21 Jun 2009 22:31:56 +0000 (00:31 +0200)
Fix comments.

m4/ChangeLog
m4/gettext.m4

index b58b6a2ee8756ed01c831dbdf760bdf488f7725c..317a05697950be4b8382bbee0604e8db40fc24a0 100644 (file)
@@ -1,8 +1,8 @@
-2002-01-03  Bruno Haible  <bruno@clisp.org>
+2002-01-04  Bruno Haible  <bruno@clisp.org>
 
        * gettext.m4 (AM_GNU_GETTEXT): If no intl directory exists and GNU
        gettext was not found in libc or preinstalled libintl, don't define
-       ENABLE_NLS.
+       ENABLE_NLS, and set USE_NLS to 'no'.
 
 2001-12-12  Bruno Haible  <bruno@clisp.org>
 
index 327f0ba0c3b803802c451e2ba6347505e2c1278b..0783a94e4855fbd5379a292017f0a07db5a0ed72 100644 (file)
@@ -177,7 +177,12 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("",
       AC_DEFINE(ENABLE_NLS, 1,
         [Define to 1 if translation of program messages to the user's native language
    is requested.])
+    else
+      USE_NLS=no
     fi
+  fi
+
+  if test "$USE_NLS" = "yes"; then
 
     if test "$gt_use_preinstalled_gnugettext" = "yes"; then
       if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
@@ -238,9 +243,8 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("",
 ])
 
 
-dnl Checks for all prerequisites of the intl subdirectory,
-dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS,
-dnl            USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL.
+dnl Checks for all prerequisites of the po subdirectory,
+dnl except for USE_NLS.
 AC_DEFUN([AM_PO_SUBDIRS],
 [
   AC_REQUIRE([AC_PROG_MAKE_SET])dnl
@@ -397,8 +401,9 @@ AC_DEFUN([AM_PO_SUBDIRS],
 ])
 
 
-dnl Checks for all prerequisites of the po subdirectory,
-dnl except for USE_NLS.
+dnl Checks for all prerequisites of the intl subdirectory,
+dnl except for INTL_LIBTOOL_SUFFIX_PREFIX (and possibly LIBTOOL), INTLOBJS,
+dnl            USE_INCLUDED_LIBINTL, BUILD_INCLUDED_LIBINTL.
 AC_DEFUN([AM_INTL_SUBDIR],
 [
   AC_REQUIRE([AC_PROG_INSTALL])dnl