diff options
Diffstat (limited to 'gettext-runtime')
-rw-r--r-- | gettext-runtime/m4/ChangeLog | 4 | ||||
-rw-r--r-- | gettext-runtime/m4/gettext.m4 | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/gettext-runtime/m4/ChangeLog b/gettext-runtime/m4/ChangeLog index 128dedf..2ebf327 100644 --- a/gettext-runtime/m4/ChangeLog +++ b/gettext-runtime/m4/ChangeLog @@ -1,3 +1,7 @@ +2005-08-15 Bruno Haible <bruno@clisp.org> + + * gettext.m4 (AM_INTL_SUBDIR): Fix test for NL_LOCALE_NAME macro. + 2005-07-28 Stepan Kasal <kasal@ucw.cz> * gettext.m4 (AM_GNU_GETTEXT): Don't use changequote, add pairs of diff --git a/gettext-runtime/m4/gettext.m4 b/gettext-runtime/m4/gettext.m4 index 9ab4bcf..756c0bd 100644 --- a/gettext-runtime/m4/gettext.m4 +++ b/gettext-runtime/m4/gettext.m4 @@ -443,7 +443,8 @@ __fsetlocking]) dnl glibc >= 2.4 has a NL_LOCALE_NAME macro when _GNU_SOURCE is defined, dnl and a _NL_LOCALE_NAME macro always. AC_CACHE_CHECK([for NL_LOCALE_NAME macro], gt_cv_nl_locale_name, - [AC_TRY_LINK([#include <langinfo.h>], + [AC_TRY_LINK([#include <langinfo.h> +#include <locale.h>], [char* cs = nl_langinfo(_NL_LOCALE_NAME(LC_MESSAGES));], gt_cv_nl_locale_name=yes, gt_cv_nl_locale_name=no) |