X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fwctype.m4;h=62994c62bae15968b543a861b033d0d42dd95e4c;hb=2354d5ead305b61c925e53bcfb73d47de7c53162;hp=001d54edb1ee05924cb1a1b0c60579ff61bedf37;hpb=0191a7041eba6c7f9190e56dea2430ded092fc68;p=gnulib.git diff --git a/m4/wctype.m4 b/m4/wctype.m4 index 001d54edb..62994c62b 100644 --- a/m4/wctype.m4 +++ b/m4/wctype.m4 @@ -7,8 +7,6 @@ dnl with or without modifications, as long as this notice is preserved. dnl Written by Paul Eggert. -# wctype.m4 serial 2 - AC_DEFUN([gl_WCTYPE_H], [ AC_CHECK_FUNCS_ONCE([iswcntrl]) @@ -16,6 +14,12 @@ AC_DEFUN([gl_WCTYPE_H], AC_REQUIRE([AC_C_INLINE]) AC_REQUIRE([gt_TYPE_WINT_T]) + if test $gt_cv_c_wint_t = yes; then + HAVE_WINT_T=1 + else + HAVE_WINT_T=0 + fi + AC_SUBST([HAVE_WINT_T]) WCTYPE_H=wctype.h if test $ac_cv_header_wctype_h = yes; then