diff options
author | Bruno Haible <bruno@clisp.org> | 2011-01-23 12:40:00 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2011-01-23 12:40:00 +0100 |
commit | 4aa5804f2cfdb6d112bcb4e761e2990a66b89fe2 (patch) | |
tree | 23e5791e452141e191623b7c7fa28e964e5caf1e /m4 | |
parent | 27e504553a5a377f1519780f340ec239886eef53 (diff) | |
download | gnulib-4aa5804f2cfdb6d112bcb4e761e2990a66b89fe2.tar.gz |
wctype: Ensure valid C syntax.
* m4/wctype_h.m4 (gl_WCTYPE_H): Invoke gl_CHECK_NEXT_HEADERS
unconditionally, instead of gl_NEXT_HEADERS conditionally.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/wctype_h.m4 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/m4/wctype_h.m4 b/m4/wctype_h.m4 index 014d9d6729..d2b37ceead 100644 --- 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_DEFUN([gl_WCTYPE_H], 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 @@ AC_DEFUN([gl_WCTYPE_H], 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 @@ AC_DEFUN([gl_WCTYPE_H], ]) ]) fi - gl_NEXT_HEADERS([wctype.h]) HAVE_WCTYPE_H=1 else HAVE_WCTYPE_H=0 |