diff options
author | Fred Fish <fnf@specifix.com> | 1996-08-23 00:47:10 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1996-08-23 00:47:10 +0000 |
commit | d538f9cfbc088d986672f3bf9c74d6478b0cf70b (patch) | |
tree | da83f4805b00986d0e807f31ae920ddf6f802021 /gdb/configure.in | |
parent | cb26c22dedc0cdaa3c7e70d5e9ce15ccd0ce8716 (diff) | |
download | gdb-d538f9cfbc088d986672f3bf9c74d6478b0cf70b.zip gdb-d538f9cfbc088d986672f3bf9c74d6478b0cf70b.tar.gz gdb-d538f9cfbc088d986672f3bf9c74d6478b0cf70b.tar.bz2 |
* valprint.c (print_longest): Test for CC_HAS_LONG_LONG as well as
PRINTF_HAS_LONG_LONG.
* expprint.c (dump_expression): Ditto.
* configure.in: Fix check for long long support in compiler to
use a function body, not a nested function.
* configure: Rebuild with autoconf.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index 42ffb2e..4045fbf 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -69,11 +69,9 @@ dnl See if compiler supports "long long" type. AC_MSG_CHECKING(for long long support in compiler) AC_CACHE_VAL(gdb_cv_c_long_long, [AC_TRY_COMPILE(, [ -long long foo; -void bar () -{ - switch (foo & 2) { case 0: return; } -}], + extern long long foo; + switch (foo & 2) { case 0: return 1; } +], gdb_cv_c_long_long=yes, gdb_cv_c_long_long=no)]) AC_MSG_RESULT($gdb_cv_c_long_long) if test $gdb_cv_c_long_long = yes; then |