aboutsummaryrefslogtreecommitdiff
path: root/binutils/configure.in
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2012-04-05 08:43:41 +0000
committerNick Clifton <nickc@redhat.com>2012-04-05 08:43:41 +0000
commit443507505d3a8bac2b5dc2e8578af2006f68cc80 (patch)
tree23720063ed46adcf849f831e44f9048334bf7c46 /binutils/configure.in
parent78a761e2471d7f4bfb6e4d58693bdd932b10409b (diff)
downloadgdb-443507505d3a8bac2b5dc2e8578af2006f68cc80.zip
gdb-443507505d3a8bac2b5dc2e8578af2006f68cc80.tar.gz
gdb-443507505d3a8bac2b5dc2e8578af2006f68cc80.tar.bz2
* configure.in (AC_CHECK_FUNCS): Add setlocale.
(AM_LC_MESSAGES): Add. * aclocal.m4: Regenerate. * config.in: Regenerate. * configure: Regenerate.
Diffstat (limited to 'binutils/configure.in')
-rw-r--r--binutils/configure.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/binutils/configure.in b/binutils/configure.in
index d0443cf..3941a0b 100644
--- a/binutils/configure.in
+++ b/binutils/configure.in
@@ -92,7 +92,7 @@ AC_SUBST(DEMANGLER_NAME)
AC_CHECK_HEADERS(string.h strings.h stdlib.h unistd.h fcntl.h sys/file.h limits.h sys/param.h)
AC_HEADER_SYS_WAIT
AC_FUNC_ALLOCA
-AC_CHECK_FUNCS(sbrk utimes setmode getc_unlocked strcoll)
+AC_CHECK_FUNCS(sbrk utimes setmode getc_unlocked strcoll setlocale)
AC_CHECK_FUNC([mkstemp],
AC_DEFINE([HAVE_MKSTEMP], 1,
[Define to 1 if you have the `mkstemp' function.]))
@@ -103,6 +103,8 @@ AC_CHECK_FUNC([mkdtemp],
# Some systems have frexp only in -lm, not in -lc.
AC_SEARCH_LIBS(frexp, m)
+AM_LC_MESSAGES
+
AC_MSG_CHECKING(for time_t in time.h)
AC_CACHE_VAL(bu_cv_decl_time_t_time_h,
[AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include <time.h>], [time_t i;])],