# HG changeset patch # User Bruno Haible # Date 1295782800 -3600 # Node ID 201402d33253edad436872c85133ad362e8b0782 # Parent 005668eb52436c5ade0c5a1c729ae52122bf8eb2 wctype: Ensure valid C syntax. * m4/wctype_h.m4 (gl_WCTYPE_H): Invoke gl_CHECK_NEXT_HEADERS unconditionally, instead of gl_NEXT_HEADERS conditionally. diff --git a/m4/wctype_h.m4 b/m4/wctype_h.m4 --- 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 , 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