aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2009-04-15 22:20:32 +0000
committerTom Tromey <tromey@redhat.com>2009-04-15 22:20:32 +0000
commit732f6a935c88164b258505f7b10091bafa6bf877 (patch)
tree9e0a9ca2bcb24401e3074aee239450100af218d8 /gdb/configure
parent334cc82d44775325475752b1126a3257b51b2b0c (diff)
downloadgdb-732f6a935c88164b258505f7b10091bafa6bf877.zip
gdb-732f6a935c88164b258505f7b10091bafa6bf877.tar.gz
gdb-732f6a935c88164b258505f7b10091bafa6bf877.tar.bz2
gdb
* c-lang.c (c_emit_char): Use INTERMEDIATE_ENCODING. (c_printstr): Likewise. * charset.c: Include gdb_wait.h. (make_wchar_iterator): Use INTERMEDIATE_ENCODING. (find_charset_names): Use pexecute. Handle libiconv's output. Detect errors. (_initialize_charset): Use xstrdup. * gdb_wchar.h: Check HAVE_BTOWC. Split PHONY_ICONV and wchar cases. (INTERMEDIATE_ENCODING): New define. * configure, config.in: Rebuild. * configure.ac: Check for btowc. gdb/doc * gdb.texinfo (Character Sets): Document default character set.
Diffstat (limited to 'gdb/configure')
-rwxr-xr-xgdb/configure3
1 files changed, 2 insertions, 1 deletions
diff --git a/gdb/configure b/gdb/configure
index 51f35f5..e06a451 100755
--- a/gdb/configure
+++ b/gdb/configure
@@ -15776,10 +15776,11 @@ fi
+
for ac_func in canonicalize_file_name realpath getrusage getuid \
getgid poll pread64 sbrk setpgid setpgrp setsid \
sigaction sigprocmask sigsetmask socketpair syscall \
- ttrace wborder setlocale iconvlist libiconvlist
+ ttrace wborder setlocale iconvlist libiconvlist btowc
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
echo "$as_me:$LINENO: checking for $ac_func" >&5