]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Make the check work also with a C++ compiler.
authorBruno Haible <bruno@clisp.org>
Thu, 13 Jan 2005 12:22:15 +0000 (12:22 +0000)
committerBruno Haible <bruno@clisp.org>
Tue, 23 Jun 2009 10:12:04 +0000 (12:12 +0200)
gettext-runtime/m4/ChangeLog
gettext-runtime/m4/gettext.m4

index 370b9d89a40568d5ae13fa45a49d7b63b1e66e3d..c9fba15ceb8885e193523dc47d40147a8c11156e 100644 (file)
@@ -1,3 +1,9 @@
+2005-01-10  Bruno Haible  <bruno@clisp.org>
+
+       * gettext.m4 (AM_GNU_GETTEXT): Declare _nl_expand_alias with an
+       argument.
+       Reported by Vaclav Haisman <V.Haisman@sh.cvut.cz>.
+
 2005-01-08  Bruno Haible  <bruno@clisp.org>
 
        * progtest.m4: Require autoconf >= 2.50.
index fd0940b582e27512aadf2ff3be5ad2f29c176395..a7e234ae77eeaa68184ceabeaeb5d2ed4f884f68 100644 (file)
@@ -1,4 +1,4 @@
-# gettext.m4 serial 32 (gettext-0.14.2)
+# gettext.m4 serial 33 (gettext-0.14.2)
 dnl Copyright (C) 1995-2005 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
@@ -172,9 +172,9 @@ extern
 #ifdef __cplusplus
 "C"
 #endif
-const char *_nl_expand_alias ();],
+const char *_nl_expand_alias (const char *);],
               [bindtextdomain ("", "");
-return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
+return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
               gt_cv_func_gnugettext_libintl=yes,
               gt_cv_func_gnugettext_libintl=no)
             dnl Now see whether libintl exists and depends on libiconv.
@@ -193,9 +193,9 @@ extern
 #ifdef __cplusplus
 "C"
 #endif
-const char *_nl_expand_alias ();],
+const char *_nl_expand_alias (const char *);],
                 [bindtextdomain ("", "");
-return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias (0)],
+return (int) gettext ("")]ifelse([$2], [need-ngettext], [ + (int) ngettext ("", "", 0)], [])[ + _nl_msg_cat_cntr + *_nl_expand_alias ("")],
                [LIBINTL="$LIBINTL $LIBICONV"
                 LTLIBINTL="$LTLIBINTL $LTLIBICONV"
                 gt_cv_func_gnugettext_libintl=yes