summaryrefslogtreecommitdiff
path: root/libstdc++-v3/aclocal.m4
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-25 20:30:20 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2003-09-25 20:30:20 +0000
commit35f1a4f0ccf67e533b598fc97eeaa270442eb1b3 (patch)
tree13880a52e4498a0d9e7304c5f30cb11a120771f6 /libstdc++-v3/aclocal.m4
parent4e511a2b61cadec7edb503d9305bf557c972b57b (diff)
downloadgcc-35f1a4f0ccf67e533b598fc97eeaa270442eb1b3.tar.gz
2003-09-25 Brad Spencer <spencer@infointeractive.com>
PR libstdc++/6072 * acinclude.m4: * aclocal.m4: Regenerate. * config.h.in: Regenerate. * configure: Regenerate. * crossconfig.m4: Add in wchar_t bits for solaris crosses. * config/io/basic_file_stdio.cc: Guard unistd.h. * include/c_compatibility/wchar.h: Guard extra wchar_t functionality. * include/c_std/std_cwchar.h: Same. * include/c_std/std_cwctype.h: Same. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@71795 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/aclocal.m4')
-rw-r--r--libstdc++-v3/aclocal.m411
1 files changed, 8 insertions, 3 deletions
diff --git a/libstdc++-v3/aclocal.m4 b/libstdc++-v3/aclocal.m4
index d1db26e08ff..214a66efdfa 100644
--- a/libstdc++-v3/aclocal.m4
+++ b/libstdc++-v3/aclocal.m4
@@ -396,13 +396,18 @@ AC_DEFUN(GLIBCXX_CHECK_WCHAR_T_SUPPORT, [
# Checks for names injected into std:: by the c_std headers.
AC_CHECK_FUNCS([btowc wctob fgetwc fgetws fputwc fputws fwide \
- fwprintf fwscanf swprintf swscanf vfwprintf vfwscanf vswprintf vswscanf \
- vwprintf vwscanf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
- mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstof wcstol \
+ fwprintf fwscanf swprintf swscanf vfwprintf vswprintf \
+ vwprintf wprintf wscanf getwc getwchar mbsinit mbrlen mbrtowc \
+ mbsrtowcs wcsrtombs putwc putwchar ungetwc wcrtomb wcstod wcstol \
wcstoul wcscpy wcsncpy wcscat wcsncat wcscmp wcscoll wcsncmp wcsxfrm \
wcscspn wcsspn wcstok wcsftime wcschr wcspbrk wcsrchr wcsstr],
[],[ac_wfuncs=no])
+ # Checks for wide character functions that are not required
+ # for basic wchar_t support. Don't disable support if they are missing.
+ # Injection of these is wrapped with guard macros.
+ AC_CHECK_FUNCS([vfwscanf vswscanf vwscanf wcstof iswblank],[],[])
+
AC_MSG_CHECKING([for ISO C99 wchar_t support])
if test x"$has_weof" = xyes &&
test x"$has_wchar_minmax" = xyes &&