diff options
author | Fred Fish <fnf@specifix.com> | 1996-07-30 04:26:25 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1996-07-30 04:26:25 +0000 |
commit | 80f600a4b27520fd5294f2575a6398dc391179a2 (patch) | |
tree | 1eb334cbc4f117749ce24a820f16257b829488b3 /gdb/configure.in | |
parent | 6f35989529aa84d4a183482b8a846a6012255bb9 (diff) | |
download | gdb-80f600a4b27520fd5294f2575a6398dc391179a2.zip gdb-80f600a4b27520fd5294f2575a6398dc391179a2.tar.gz gdb-80f600a4b27520fd5294f2575a6398dc391179a2.tar.bz2 |
* configure.in: Expand "long long" test to include code that triggers
known problem on HPUX with native compiler.
(configure): Regenerated.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index 0325100..62464d5 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -66,7 +66,12 @@ 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;], +[AC_TRY_COMPILE(, [ +long long foo; +void bar () +{ + switch (foo & 2) { case 0: return; } +}], 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 |