aboutsummaryrefslogtreecommitdiff
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
commit832a94844fffdf222dd6726c26d2678daf440202 (patch)
tree3015f590d0e8b9aebfd7bf62db21f47dc108658d /readline/aclocal.m4
parent6ece72dad9bbb3dda581c92d778c398e275ae7c0 (diff)
downloadgdb-832a94844fffdf222dd6726c26d2678daf440202.zip
gdb-832a94844fffdf222dd6726c26d2678daf440202.tar.gz
gdb-832a94844fffdf222dd6726c26d2678daf440202.tar.bz2
* 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 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