summaryrefslogtreecommitdiff
path: root/readline/aclocal.m4
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2003-03-03 18:52:27 +0000
committerJoel Brobecker <brobecker@gnat.com>2003-03-03 18:52:27 +0000
commit0db18c3fb56d5818a0ea9e5f5c89e47f41f02ced (patch)
tree4f841ad06e605df2e0331d98a85b77f78d1bda82 /readline/aclocal.m4
parent31b3bd81e31a32d073272c7b923e1abd85ebebd0 (diff)
downloadgdb-0db18c3fb56d5818a0ea9e5f5c89e47f41f02ced.tar.gz
* aclocal.m4: Add check for mbrtowc.
* config.h.in: Regenerate. * configure: Regenerate. * rlmbutil.h: Disable multi-byte if mbrtowc is not defined.
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 68b287d4be8..bc43d8db013 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