aboutsummaryrefslogtreecommitdiff
path: root/binutils/configure
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
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')
-rwxr-xr-xbinutils/configure36
1 files changed, 35 insertions, 1 deletions
diff --git a/binutils/configure b/binutils/configure
index 8d324e4..a78e4ef 100755
--- a/binutils/configure
+++ b/binutils/configure
@@ -12681,7 +12681,7 @@ _ACEOF
fi
-for ac_func in sbrk utimes setmode getc_unlocked strcoll
+for ac_func in sbrk utimes setmode getc_unlocked strcoll setlocale
do :
as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
@@ -12767,6 +12767,40 @@ if test "$ac_res" != no; then :
fi
+
+ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
+$as_echo_n "checking for LC_MESSAGES... " >&6; }
+if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
+ $as_echo_n "(cached) " >&6
+else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+/* end confdefs.h. */
+#include <locale.h>
+int
+main ()
+{
+return LC_MESSAGES
+ ;
+ return 0;
+}
+_ACEOF
+if ac_fn_c_try_link "$LINENO"; then :
+ am_cv_val_LC_MESSAGES=yes
+else
+ am_cv_val_LC_MESSAGES=no
+fi
+rm -f core conftest.err conftest.$ac_objext \
+ conftest$ac_exeext conftest.$ac_ext
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_val_LC_MESSAGES" >&5
+$as_echo "$am_cv_val_LC_MESSAGES" >&6; }
+ if test $am_cv_val_LC_MESSAGES = yes; then
+
+$as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
+
+ fi
+
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for time_t in time.h" >&5
$as_echo_n "checking for time_t in time.h... " >&6; }
if test "${bu_cv_decl_time_t_time_h+set}" = set; then :