]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Don't ignore preinstalled libintl of versions >= 0.10.36.
authorBruno Haible <bruno@clisp.org>
Tue, 9 Apr 2002 13:10:10 +0000 (13:10 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:07:52 +0000 (12:07 +0200)
m4/ChangeLog
m4/gettext.m4

index 61ac893ac523d41b01b3b0c6e4545a0aff2a2715..eafc0638ef060bafcf3ea4b71ed2a3be8f89f961 100644 (file)
@@ -1,5 +1,9 @@
 2002-04-08  Bruno Haible  <bruno@clisp.org>
 
+       * gettext.m4 (AM_GNU_GETTEXT): Don't use _nl_domain_bindings; its
+       linkage name has changed between gettext 0.10.35 and 0.10.36.
+       Reported by Albert Chin-A-Young <china@thewrittenword.com>.
+
        * lib-link.m4 (AC_LIB_LINKFLAGS_BODY): Handle -R options that appear
        in $dependency_libs, for example on HP-UX 10.20 and OSF/1.
        Reported by Albert Chin-A-Young <china@thewrittenword.com>
index 520f973d8de11fc247407f65a6e5ab9c487f8cfd..94bc26c8d25c6f143023780db74b5d482c8aaff1 100644 (file)
@@ -1,4 +1,4 @@
-# gettext.m4 serial 13 (gettext-0.11.1)
+# gettext.m4 serial 14 (gettext-0.11.2)
 dnl Copyright (C) 1995-2002 Free Software Foundation, Inc.
 dnl This file is free software, distributed under the terms of the GNU
 dnl General Public License.  As a special exception to the GNU General
@@ -142,14 +142,13 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("",
             dnl Now see whether libintl exists and does not depend on libiconv.
             AC_TRY_LINK([#include <libintl.h>
 extern int _nl_msg_cat_cntr;
-extern int *_nl_domain_bindings;
 extern
 #ifdef __cplusplus
 "C"
 #endif
 const char *_nl_expand_alias ();],
               [bindtextdomain ("", "");
-return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)],
+return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
               gt_cv_func_gnugettext_libintl=yes,
               gt_cv_func_gnugettext_libintl=no)
             dnl Now see whether libintl exists and depends on libiconv.
@@ -157,14 +156,13 @@ return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("",
               LIBS="$LIBS $LIBICONV"
               AC_TRY_LINK([#include <libintl.h>
 extern int _nl_msg_cat_cntr;
-extern int *_nl_domain_bindings;
 extern
 #ifdef __cplusplus
 "C"
 #endif
 const char *_nl_expand_alias ();],
                 [bindtextdomain ("", "");
-return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_domain_bindings + *_nl_expand_alias (0)],
+return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
                [LIBINTL="$LIBINTL $LIBICONV"
                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
                 gt_cv_func_gnugettext_libintl=yes