Mercurial > hg > octave-lyh > gnulib-hg
changeset 12573:35e0410f273a
nl_langinfo: avoid configure-time syntax error
* m4/nl_langinfo.m4 (gl_FUNC_NL_LANGINFO): When we've already tested
for nl_langinfo.h, AC_CHECK_FUNCS_ONCE([nl_langinfo]) expands to
the empty string. Don't let that provoke a shell syntax error.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Mon, 04 Jan 2010 14:59:04 +0100 |
parents | b11c0a312a68 |
children | 275617f39fd2 |
files | ChangeLog m4/nl_langinfo.m4 |
diffstat | 2 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-01-04 Jim Meyering <meyering@redhat.com> + nl_langinfo: avoid configure-time syntax error + * m4/nl_langinfo.m4 (gl_FUNC_NL_LANGINFO): When we've already tested + for nl_langinfo.h, AC_CHECK_FUNCS_ONCE([nl_langinfo]) expands to + the empty string. Don't let that provoke a shell syntax error. + regcomp, regexec, fnmatch: avoid array bounds read error * lib/regcomp.c (build_equiv_class): From glibc: Use only the low 24 bits of a findidx return value as an index
--- a/m4/nl_langinfo.m4 +++ b/m4/nl_langinfo.m4 @@ -1,4 +1,4 @@ -# nl_langinfo.m4 serial 1 +# nl_langinfo.m4 serial 2 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, @@ -10,6 +10,7 @@ AC_REQUIRE([gl_LANGINFO_H]) if test $HAVE_LANGINFO_H = 1; then AC_CHECK_FUNCS_ONCE([nl_langinfo]) + : # in case AC_CHECK_FUNCS_ONCE expands to nothing else ac_cv_func_nl_langinfo=no fi