summaryrefslogtreecommitdiff
path: root/m4/mbchar.m4
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2007-01-16 16:31:23 +0000
committerEric Blake <ebb9@byu.net>2007-01-16 16:31:23 +0000
commit96f7b7d91a671011cb95059bad591615c250495d (patch)
treebb9a1f8eecea9e7ed565ff0b5e6273c5f7ad02d6 /m4/mbchar.m4
parent5e589da3fab3a9a67ccda117d65e2cdc4b6ef80e (diff)
downloadgnulib-96f7b7d91a671011cb95059bad591615c250495d.tar.gz
* modules/fnmatch (Depends-on): Depend on wchar.
* lib/fnmatch.c (WIDE_CHAR_SUPPORT): Assume <wchar.h>. * m4/fnmatch.m4: Likewise. * modules/mbchar (Makefile.am): Assume <wchar.h>. * m4/mbchar.m4: Likewise. * modules/mbswidth (Depends-on): Depend on wchar. * lib/mbswidth.c: Assume <wchar.h>. * m4/mbswidth.m4: Likewise. * modules/quotearg (Depends-on): Depend on wchar. * lib/quotearg.c: Assume <wchar.h>. * m4/quotearg.m4: Likewise. * modules/regex (Depends-on): Depend on wchar. * lib/regex_internal.h: Assume <wchar.h>. * m4/regex.m4: Likewise. * modules/stdint (Depends-on): Depend on wchar. * lib/stdint_.h [!defined WCHAR_MIN]: Assume <wchar.h>. * m4/stdint.m4: Likewise. * tests/test-stdint.c [HAVE_WINT_T]: Likewise. * modules/strftime (Depends-on): Depend on wchar. * lib/strftime.c (DO_MULTIBYTE): Assume <wchar.h>. * modules/strtol (Depends-on): Depend on wchar. * lib/strtol.c: Assume <wchar.h>. * modules/wcwidth (Depends-on): Depend on wchar. * lib/wcwidth.h: Assume <wchar.h>. * m4/wcwidth.m4: Likewise.
Diffstat (limited to 'm4/mbchar.m4')
-rw-r--r--m4/mbchar.m412
1 files changed, 3 insertions, 9 deletions
diff --git a/m4/mbchar.m4 b/m4/mbchar.m4
index 017c56ad44..5380941b44 100644
--- a/m4/mbchar.m4
+++ b/m4/mbchar.m4
@@ -1,5 +1,5 @@
-# mbchar.m4 serial 4
-dnl Copyright (C) 2005-2006 Free Software Foundation, Inc.
+# mbchar.m4 serial 5
+dnl Copyright (C) 2005-2007 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
dnl with or without modifications, as long as this notice is preserved.
@@ -10,11 +10,5 @@ dnl From Bruno Haible.
AC_DEFUN([gl_MBCHAR],
[
AC_REQUIRE([AC_GNU_SOURCE])
- dnl The following line is that so the user can test HAVE_WCHAR_H
- dnl before #include "mbchar.h".
- AC_CHECK_HEADERS_ONCE([wchar.h])
- dnl Compile mbchar.c only if HAVE_WCHAR_H.
- if test $ac_cv_header_wchar_h = yes; then
- AC_LIBOBJ([mbchar])
- fi
+ AC_LIBOBJ([mbchar])
])