diff options
author | Daiki Ueno <ueno@gnu.org> | 2013-08-09 09:41:25 +0200 |
---|---|---|
committer | Daiki Ueno <ueno@gnu.org> | 2013-08-12 13:35:04 +0200 |
commit | 9860085099c435ca2d32d1030092c536ec7d3700 (patch) | |
tree | 838a8b215ee7df4ec88600a3bc89801fde605ac4 | |
parent | a9c8df85f2dbf2a642573f835a3d3b17af94fcf5 (diff) | |
download | gettext-9860085099c435ca2d32d1030092c536ec7d3700.tar.gz |
Fix AC_CHECK_DECLS usage.
-rw-r--r-- | gettext-runtime/m4/ChangeLog | 5 | ||||
-rw-r--r-- | gettext-runtime/m4/intl.m4 | 6 |
2 files changed, 8 insertions, 3 deletions
diff --git a/gettext-runtime/m4/ChangeLog b/gettext-runtime/m4/ChangeLog index 8191a6f2c..a3407a42a 100644 --- a/gettext-runtime/m4/ChangeLog +++ b/gettext-runtime/m4/ChangeLog @@ -1,3 +1,8 @@ +2013-08-09 Daiki Ueno <ueno@gnu.org> + + * intl.m4 (AM_INTL_SUBDIR): Fix AC_CHECK_DECLS usage. + (gt_INTL_SUBDIR_CORE): Likewise. + 2013-06-25 Daiki Ueno <ueno@gnu.org> Allow user to supply custom sed command when generating en@quot.po. diff --git a/gettext-runtime/m4/intl.m4 b/gettext-runtime/m4/intl.m4 index 959bd0421..dffcd881b 100644 --- a/gettext-runtime/m4/intl.m4 +++ b/gettext-runtime/m4/intl.m4 @@ -1,4 +1,4 @@ -# intl.m4 serial 23 (gettext-0.18.3) +# intl.m4 serial 24 (gettext-0.18.3) dnl Copyright (C) 1995-2013 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -61,7 +61,7 @@ AC_DEFUN([AM_INTL_SUBDIR], dnl Use the _snprintf function only if it is declared (because on NetBSD it dnl is defined as a weak alias of snprintf; we prefer to use the latter). - AC_CHECK_DECLS([_snprintf _snwprintf], , , [#include <stdio.h>]) + AC_CHECK_DECLS([_snprintf, _snwprintf], , , [#include <stdio.h>]) dnl Use the *_unlocked functions only if they are declared. dnl (because some of them were defined without being declared in Solaris @@ -234,7 +234,7 @@ AC_DEFUN([gt_INTL_SUBDIR_CORE], dnl (because some of them were defined without being declared in Solaris dnl 2.5.1 but were removed in Solaris 2.6, whereas we want binaries built dnl on Solaris 2.5.1 to run on Solaris 2.6). - AC_CHECK_DECLS([feof_unlocked fgets_unlocked], , , [#include <stdio.h>]) + AC_CHECK_DECLS([feof_unlocked, fgets_unlocked], , , [#include <stdio.h>]) AM_ICONV |