aboutsummaryrefslogtreecommitdiff
path: root/gcc/configure
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
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')
-rwxr-xr-xgcc/configure6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/configure b/gcc/configure
index 63063d9..d92e7c8 100755
--- a/gcc/configure
+++ b/gcc/configure
@@ -2434,7 +2434,7 @@ fi
# Find some useful tools
-for ac_prog in gawk mawk nawk awk
+for ac_prog in mawk gawk nawk awk
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
@@ -3102,7 +3102,7 @@ fi
for ac_hdr in 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
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
@@ -3714,7 +3714,7 @@ fi
for ac_func in 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
do
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
echo "configure:3721: checking for $ac_func" >&5