summaryrefslogtreecommitdiff
path: root/m4/mbchar.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/mbchar.m4')
-rw-r--r--m4/mbchar.m46
1 files changed, 4 insertions, 2 deletions
diff --git a/m4/mbchar.m4 b/m4/mbchar.m4
index df351a6eb..ec4cbab11 100644
--- a/m4/mbchar.m4
+++ b/m4/mbchar.m4
@@ -1,5 +1,5 @@
-# mbchar.m4 serial 2
-dnl Copyright (C) 2005 Free Software Foundation, Inc.
+# mbchar.m4 serial 3
+dnl Copyright (C) 2005-2006 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -16,5 +16,7 @@ AC_DEFUN([gl_MBCHAR],
dnl Compile mbchar.c only if HAVE_WCHAR_H && HAVE_WCTYPE_H.
if test $ac_cv_header_wchar_h = yes && test $ac_cv_header_wctype_h = yes; then
AC_LIBOBJ([mbchar])
+ dnl Prerequisites of mbchar.h and mbchar.c.
+ AC_CHECK_FUNCS([iswcntrl])
fi
])