changeset 13668:016da02bf986

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 <tgc@jupiterrise.com>.
author Bruno Haible <bruno@clisp.org>
date Fri, 10 Sep 2010 23:19:03 +0200
parents 3211d36b9926
children c44f2f1aa276
files ChangeLog m4/langinfo_h.m4
diffstat 2 files changed, 10 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2010-09-10  Bruno Haible  <bruno@clisp.org>
+
+	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 <tgc@jupiterrise.com>.
+
 2010-09-10  Bruno Haible  <bruno@clisp.org>
 
 	relocatable-prog-wrapper: Fix compilation failure due to O_EXEC.
--- a/m4/langinfo_h.m4
+++ b/m4/langinfo_h.m4
@@ -16,12 +16,14 @@
 
   dnl Determine whether <langinfo.h> 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 <langinfo.h> 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(