summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2010-01-07 21:25:30 +0100
committerBruno Haible <bruno@clisp.org>2010-01-07 21:25:30 +0100
commit7f01cc5253fa60903c1963c23c34eb79b1fb4b79 (patch)
treee6e7aacf840c3f591d5f36524f11bfc156bcc500
parent5cd308a4676d3dfbb5faffb602b8ad3b0b806b0d (diff)
downloadgnulib-7f01cc5253fa60903c1963c23c34eb79b1fb4b79.tar.gz
nl_langinfo: Simplify logic.
-rw-r--r--ChangeLog4
-rw-r--r--m4/nl_langinfo.m45
2 files changed, 6 insertions, 3 deletions
diff --git a/ChangeLog b/ChangeLog
index 81e108b63d..a5622985e2 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2010-01-07 Bruno Haible <bruno@clisp.org>
+
+ * m4/nl_langinfo.m4 (gl_FUNC_NL_LANGINFO): Simplify logic.
+
2010-01-07 John W. Eaton <jwe@octave.org>
wctype: allow C++ use
diff --git a/m4/nl_langinfo.m4 b/m4/nl_langinfo.m4
index e13546ba0e..ad456a264c 100644
--- a/m4/nl_langinfo.m4
+++ b/m4/nl_langinfo.m4
@@ -1,4 +1,4 @@
-# nl_langinfo.m4 serial 2
+# nl_langinfo.m4 serial 3
dnl Copyright (C) 2009, 2010 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -9,8 +9,7 @@ AC_DEFUN([gl_FUNC_NL_LANGINFO],
AC_REQUIRE([gl_LANGINFO_H_DEFAULTS])
AC_REQUIRE([gl_LANGINFO_H])
AC_CHECK_FUNCS_ONCE([nl_langinfo])
- if test $HAVE_LANGINFO_H = 1 \
- && test x$ac_cv_func_nl_langinfo = xyes; then
+ if test $ac_cv_func_nl_langinfo = yes; then
if test $HAVE_LANGINFO_CODESET = 1 && test $HAVE_LANGINFO_ERA = 1; then
:
else