aboutsummaryrefslogtreecommitdiff
path: root/readline/aclocal.m4
diff options
context:
space:
mode:
Diffstat (limited to 'readline/aclocal.m4')
-rw-r--r--readline/aclocal.m41
1 files changed, 1 insertions, 0 deletions
diff --git a/readline/aclocal.m4 b/readline/aclocal.m4
index 68b287d..bc43d8d 100644
--- a/readline/aclocal.m4
+++ b/readline/aclocal.m4
@@ -1652,6 +1652,7 @@ AC_CHECK_HEADERS(wctype.h)
AC_CHECK_HEADERS(wchar.h)
AC_CHECK_HEADERS(langinfo.h)
+AC_CHECK_FUNC(mbrtowc, AC_DEFINE(HAVE_MBRTOWC))
AC_CHECK_FUNC(mbsrtowcs, AC_DEFINE(HAVE_MBSRTOWCS))
AC_CHECK_FUNC(wcwidth, have_wcwidth=yes)
if test "$have_wcwidth" = yes; then