]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
More verbosity.
authorBruno Haible <bruno@clisp.org>
Mon, 11 Nov 2002 15:32:55 +0000 (15:32 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:08:50 +0000 (12:08 +0200)
m4/ChangeLog
m4/gettext.m4

index 5e969ed5d1ca0b2d7a488e3b2dae70929ecf537b..759e1d5500f3663d55edc01814396dd6bf8f2493 100644 (file)
@@ -1,3 +1,9 @@
+2002-11-08  Bruno Haible  <bruno@clisp.org>
+
+       * gettext.m4 (AM_GNU_GETTEXT): Print a message containing the macro's
+       main decisions.
+       Reported by Andreas Buening <andreas.buening@nexgo.de>.
+
 2002-11-07  Bruno Haible  <bruno@clisp.org>
 
        * libtool.m4: Upgrade to libtool-1.4.3.
index 7124ed829bef5e9a30747cd4eab1cffdbe1c2cd7..bff53bffc7723e491a703c2c36cd23e9eac47cde 100644 (file)
@@ -260,6 +260,22 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("",
     fi
   fi
 
+  AC_MSG_CHECKING([whether to use NLS])
+  AC_MSG_RESULT([$USE_NLS])
+  if test "$USE_NLS" = "yes"; then
+    AC_MSG_CHECKING([where the gettext function comes from])
+    if test "$gt_use_preinstalled_gnugettext" = "yes"; then
+      if test "$gt_cv_func_gnugettext_libintl" = "yes"; then
+        gt_source="external libintl"
+      else
+        gt_source="libc"
+      fi
+    else
+      gt_source="included intl directory"
+    fi
+    AC_MSG_RESULT([$gt_source])
+  fi
+
   if test "$USE_NLS" = "yes"; then
 
     if test "$gt_use_preinstalled_gnugettext" = "yes"; then