aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure.in
diff options
context:
space:
mode:
authorZack Weinberg <zack@codesourcery.com>2003-04-12 18:07:06 +0000
committerZack Weinberg <zack@gcc.gnu.org>2003-04-12 18:07:06 +0000
commit2bd020439ad63aa78333cf0e66f6b8ca0b63685c (patch)
tree5dc781e893303cba5531a0313f6b03e3fbcd2c77 /gcc/configure.in
parent48ed72a399f21ba568bb51bdc70829cbace8ebff (diff)
downloadgcc-2bd020439ad63aa78333cf0e66f6b8ca0b63685c.zip
gcc-2bd020439ad63aa78333cf0e66f6b8ca0b63685c.tar.gz
gcc-2bd020439ad63aa78333cf0e66f6b8ca0b63685c.tar.bz2
configure.in: Check for wchar.h, mbstowcs, and wcswidth.
* configure.in: Check for wchar.h, mbstowcs, and wcswidth. * configure, config.in: Regenerate. * intl.c (gcc_gettext_width): New function. * intl.h: Prototype it. cp: * call.c (print_z_candidates): Use gcc_gettext_width, not strlen, to determine how much padding to use. From-SVN: r65517
Diffstat (limited to 'gcc/configure.in')
-rw-r--r--gcc/configure.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/configure.in b/gcc/configure.in
index 2a1fbdd..c6bd273 100644
--- a/gcc/configure.in
+++ b/gcc/configure.in
@@ -688,7 +688,7 @@ AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(limits.h stddef.h string.h strings.h stdlib.h time.h \
fcntl.h unistd.h sys/file.h sys/time.h \
sys/resource.h sys/param.h sys/times.h sys/stat.h \
- direct.h malloc.h langinfo.h ldfcn.h)
+ direct.h malloc.h langinfo.h ldfcn.h wchar.h)
# Check for thread headers.
AC_CHECK_HEADER(thread.h, [have_thread_h=yes], [have_thread_h=])
@@ -787,7 +787,7 @@ dnl gcc_AC_C_ENUM_BF_UNSIGNED
AC_CHECK_FUNCS(times clock dup2 kill getrlimit setrlimit atoll atoq \
sysconf strsignal putc_unlocked fputc_unlocked fputs_unlocked \
fwrite_unlocked fprintf_unlocked getrusage nl_langinfo lstat \
- scandir alphasort gettimeofday)
+ scandir alphasort gettimeofday mbstowcs wcswidth)
AC_CHECK_TYPE(ssize_t, int)