projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
doc: Mention vasprintf-posix module.
[gnulib.git]
/
m4
/
wctype_h.m4
diff --git
a/m4/wctype_h.m4
b/m4/wctype_h.m4
index
3292451
..
bc6b6e7
100644
(file)
--- a/
m4/wctype_h.m4
+++ b/
m4/wctype_h.m4
@@
-1,4
+1,4
@@
-# wctype_h.m4 serial
6
+# wctype_h.m4 serial
8
dnl A placeholder for ISO C99 <wctype.h>, for platforms that lack it.
dnl A placeholder for ISO C99 <wctype.h>, for platforms that lack it.
@@
-21,12
+21,21
@@
AC_DEFUN([gl_WCTYPE_H],
fi
AC_SUBST([HAVE_ISWCNTRL])
AC_CHECK_FUNCS_ONCE([iswblank])
fi
AC_SUBST([HAVE_ISWCNTRL])
AC_CHECK_FUNCS_ONCE([iswblank])
+ AC_CHECK_DECLS_ONCE([iswblank])
if test $ac_cv_func_iswblank = yes; then
HAVE_ISWBLANK=1
if test $ac_cv_func_iswblank = yes; then
HAVE_ISWBLANK=1
+ REPLACE_ISWBLANK=0
else
HAVE_ISWBLANK=0
else
HAVE_ISWBLANK=0
+ if test $ac_cv_have_decl_iswblank = yes; then
+ REPLACE_ISWBLANK=1
+ else
+ REPLACE_ISWBLANK=0
+ fi
fi
AC_SUBST([HAVE_ISWBLANK])
fi
AC_SUBST([HAVE_ISWBLANK])
+ AC_SUBST([REPLACE_ISWBLANK])
+
AC_CHECK_HEADERS_ONCE([wctype.h])
AC_REQUIRE([AC_C_INLINE])
AC_CHECK_HEADERS_ONCE([wctype.h])
AC_REQUIRE([AC_C_INLINE])