summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--m4/mbswidth.m43
1 files changed, 2 insertions, 1 deletions
diff --git a/m4/mbswidth.m4 b/m4/mbswidth.m4
index d750c871d..f49e571eb 100644
--- a/m4/mbswidth.m4
+++ b/m4/mbswidth.m4
@@ -8,7 +8,8 @@ AC_DEFUN(jm_PREREQ_MBSWIDTH,
AC_REQUIRE([AC_HEADER_STDC])
AC_REQUIRE([AM_C_PROTOTYPES])
AC_CHECK_HEADERS(limits.h stdlib.h string.h wchar.h wctype.h)
- AC_CHECK_FUNCS(isascii iswprint mbrtowc wcwidth)
+ AC_CHECK_FUNCS(isascii iswprint wcwidth)
+ jm_FUNC_MBRTOWC
headers='
# if HAVE_WCHAR_H
# include <wchar.h>