summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2001-02-17 09:34:14 +0000
committerJim Meyering <jim@meyering.net>2001-02-17 09:34:14 +0000
commit3ede7fb763176f093ef32a04be8b7442563e5e0f (patch)
tree4ded2972f3de90b90d80067aa4f52eab66cc5268
parent0048e2bb6717ce336ec9f91820bd86359b8bb26a (diff)
downloadcoreutils-3ede7fb763176f093ef32a04be8b7442563e5e0f.tar.xz
(jm_PREREQ_MBSWIDTH):
Use jm_FUNC_MBRTOWC, not AC_CHECK_FUNCS(mbrtowc).
-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>