Mercurial > hg > octave-nkf > gnulib-hg
changeset 12597:b67fd2fff94a
nl_langinfo: Simplify logic.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Thu, 07 Jan 2010 21:25:30 +0100 |
parents | fffe9968d78a |
children | 68ebc4724236 |
files | ChangeLog m4/nl_langinfo.m4 |
diffstat | 2 files changed, 6 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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
--- 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_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