aboutsummaryrefslogtreecommitdiff
path: root/gdb/configure.ac
diff options
context:
space:
mode:
authorTom Tromey <tromey@redhat.com>2008-12-09 17:18:30 +0000
committerTom Tromey <tromey@redhat.com>2008-12-09 17:18:30 +0000
commita8111142cc46ecac5a27b59e59d09286aa7b7b35 (patch)
treedab056f90b84448976e35c5a822d1cd1291645fe /gdb/configure.ac
parent4100683baad9f616d7510a789bef00fbd396a0eb (diff)
downloadfsf-binutils-gdb-a8111142cc46ecac5a27b59e59d09286aa7b7b35.zip
fsf-binutils-gdb-a8111142cc46ecac5a27b59e59d09286aa7b7b35.tar.gz
fsf-binutils-gdb-a8111142cc46ecac5a27b59e59d09286aa7b7b35.tar.bz2
* config.in, configure: Rebuild.
* configure.ac: Check for locale.h, setlocale. Call AM_LC_MESSAGES. * acinclude.m4: Include lcmessage.m4.
Diffstat (limited to 'gdb/configure.ac')
-rw-r--r--gdb/configure.ac5
1 files changed, 3 insertions, 2 deletions
diff --git a/gdb/configure.ac b/gdb/configure.ac
index 8725aa6..4e0cf7d 100644
--- a/gdb/configure.ac
+++ b/gdb/configure.ac
@@ -696,7 +696,7 @@ AC_CHECK_HEADERS([nlist.h machine/reg.h poll.h sys/poll.h proc_service.h \
sys/resource.h sys/procfs.h sys/ptrace.h ptrace.h \
sys/reg.h sys/debugreg.h sys/select.h sys/syscall.h \
sys/types.h sys/wait.h wait.h termios.h termio.h \
- sgtty.h unistd.h elf_hp.h ctype.h time.h])
+ sgtty.h unistd.h elf_hp.h ctype.h time.h locale.h])
AC_CHECK_HEADERS(link.h, [], [],
[#if HAVE_SYS_TYPES_H
# include <sys/types.h>
@@ -740,6 +740,7 @@ AC_CHECK_HEADERS(term.h, [], [],
AC_CHECK_DECLS([free, malloc, realloc, strerror, strstr, getopt,
snprintf, vsnprintf])
+AM_LC_MESSAGES
# ----------------------- #
# Checks for structures. #
@@ -775,7 +776,7 @@ AC_FUNC_VFORK
AC_CHECK_FUNCS([canonicalize_file_name realpath getrusage getuid \
getgid poll pread64 sbrk setpgid setpgrp setsid \
sigaction sigprocmask sigsetmask socketpair syscall \
- ttrace wborder])
+ ttrace wborder setlocale])
# Check the return and argument types of ptrace. No canned test for
# this, so roll our own.