Mercurial > hg > octave-kai > gnulib-hg
changeset 14213:201402d33253
wctype: Ensure valid C syntax.
* m4/wctype_h.m4 (gl_WCTYPE_H): Invoke gl_CHECK_NEXT_HEADERS
unconditionally, instead of gl_NEXT_HEADERS conditionally.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Sun, 23 Jan 2011 12:40:00 +0100 |
parents | 005668eb5243 |
children | d1d75dad4a65 |
files | m4/wctype_h.m4 |
diffstat | 1 files changed, 2 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/m4/wctype_h.m4 +++ b/m4/wctype_h.m4 @@ -1,4 +1,4 @@ -# wctype_h.m4 serial 11 +# wctype_h.m4 serial 12 dnl A placeholder for ISO C99 <wctype.h>, for platforms that lack it. @@ -36,7 +36,6 @@ AC_SUBST([HAVE_ISWBLANK]) AC_SUBST([REPLACE_ISWBLANK]) - AC_CHECK_HEADERS_ONCE([wctype.h]) AC_REQUIRE([AC_C_INLINE]) AC_REQUIRE([gt_TYPE_WINT_T]) @@ -47,6 +46,7 @@ fi AC_SUBST([HAVE_WINT_T]) + gl_CHECK_NEXT_HEADERS([wctype.h]) if test $ac_cv_header_wctype_h = yes; then if test $ac_cv_func_iswcntrl = yes; then dnl Linux libc5 has an iswprint function that returns 0 for all arguments. @@ -75,7 +75,6 @@ ]) ]) fi - gl_NEXT_HEADERS([wctype.h]) HAVE_WCTYPE_H=1 else HAVE_WCTYPE_H=0