]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Fix a bug occurring in external mode when no libintl is installed at all.
authorBruno Haible <bruno@clisp.org>
Mon, 4 Mar 2002 12:14:37 +0000 (12:14 +0000)
committerBruno Haible <bruno@clisp.org>
Sun, 21 Jun 2009 23:26:09 +0000 (01:26 +0200)
m4/ChangeLog
m4/gettext.m4

index ea6d71c211da55e360821327b2c203ac8e1d13cd..a7df09907cc87e658191da3398ac27745fc0019d 100644 (file)
@@ -1,3 +1,9 @@
+2002-03-02  Bruno Haible  <bruno@clisp.org>
+
+       * gettext.m4 (AM_GNU_GETTEXT): Set LIBINTL and LTLIBINTL to empty if
+       no preinstalled GNU gettext was found.
+       Reported by Paul Eggert.
+
 2002-02-10  Bruno Haible  <bruno@clisp.org>
 
        * gettext.m4 (AM_GNU_GETTEXT): Don't prevent installation of libintl
index eb860f444665b3f9be166ab91aaaf442aba64bb4..22a3019ec12ddcedf467610cb4ba207e026b4eae 100644 (file)
@@ -182,6 +182,11 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("",
            || { test "$gt_cv_func_gnugettext_libintl" = "yes" \
                 && test "$PACKAGE" != gettext; }; then
           gt_use_preinstalled_gnugettext=yes
+        else
+          dnl Reset the values set by searching libintl.
+          LIBINTL=
+          LTLIBINTL=
+          INCINTL=
         fi
 
     ifelse(gt_included_intl, yes, [