diff options
author | Nick Clifton <nickc@redhat.com> | 2012-04-05 08:43:41 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2012-04-05 08:43:41 +0000 |
commit | 443507505d3a8bac2b5dc2e8578af2006f68cc80 (patch) | |
tree | 23720063ed46adcf849f831e44f9048334bf7c46 /ld/configure | |
parent | 78a761e2471d7f4bfb6e4d58693bdd932b10409b (diff) | |
download | gdb-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 'ld/configure')
-rwxr-xr-x | ld/configure | 40 |
1 files changed, 37 insertions, 3 deletions
diff --git a/ld/configure b/ld/configure index 4e62427..a41921c 100755 --- a/ld/configure +++ b/ld/configure @@ -4713,6 +4713,40 @@ 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 + + ac_config_headers="$ac_config_headers config.h:config.in" @@ -12140,7 +12174,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12143 "configure" +#line 12177 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12246,7 +12280,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12249 "configure" +#line 12283 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -16182,7 +16216,7 @@ fi done -for ac_func in glob mkstemp realpath sbrk waitpid +for ac_func in glob mkstemp realpath sbrk setlocale waitpid 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" |