From: Bruno Haible Date: Fri, 10 Sep 2010 21:19:03 +0000 (+0200) Subject: langinfo: Fix last commit. X-Git-Tag: v0.1~3819 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=d9f9600e9981890dea744c04cf843c7325d4b746;p=gnulib.git langinfo: Fix last commit. * m4/langinfo_h.m4 (gl_LANGINFO_H): Initialize HAVE_LANGINFO_T_FMT_AMPM, HAVE_LANGINFO_YESEXPR. Reported by Tom G. Christensen . --- diff --git a/ChangeLog b/ChangeLog index b4a56be9b..bdce4a3c0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2010-09-10 Bruno Haible + langinfo: Fix last commit. + * m4/langinfo_h.m4 (gl_LANGINFO_H): Initialize + HAVE_LANGINFO_T_FMT_AMPM, HAVE_LANGINFO_YESEXPR. + Reported by Tom G. Christensen . + +2010-09-10 Bruno Haible + relocatable-prog-wrapper: Fix compilation failure due to O_EXEC. * lib/progreloc.c (O_EXEC): Define fallback. diff --git a/m4/langinfo_h.m4 b/m4/langinfo_h.m4 index c5824c6c8..adc445e85 100644 --- a/m4/langinfo_h.m4 +++ b/m4/langinfo_h.m4 @@ -16,12 +16,14 @@ AC_DEFUN([gl_LANGINFO_H], dnl Determine whether exists. It is missing on mingw and BeOS. HAVE_LANGINFO_CODESET=0 + HAVE_LANGINFO_T_FMT_AMPM=0 HAVE_LANGINFO_ERA=0 + HAVE_LANGINFO_YESEXPR=0 AC_CHECK_HEADERS_ONCE([langinfo.h]) if test $ac_cv_header_langinfo_h = yes; then HAVE_LANGINFO_H=1 dnl Determine what defines. CODESET and ERA etc. are missing - dnl on OpenBSD 3.8. T_FMT_AMPM an YESEXPR, NOEXPR are missing on IRIX 5.3. + dnl on OpenBSD 3.8. T_FMT_AMPM and YESEXPR, NOEXPR are missing on IRIX 5.3. AC_CACHE_CHECK([whether langinfo.h defines CODESET], [gl_cv_header_langinfo_codeset], [AC_COMPILE_IFELSE(