diff options
author | Kevin Buettner <kevinb@redhat.com> | 2000-09-11 17:57:07 +0000 |
---|---|---|
committer | Kevin Buettner <kevinb@redhat.com> | 2000-09-11 17:57:07 +0000 |
commit | 2bba1017ee23b3af4a9e6a44340a4a317ce18a4b (patch) | |
tree | ed80f39aed083f4c38c8cd6760cbb45820d61eea /gdb/configure.in | |
parent | de827f513ed8c8fb6f22c3c8e3f4d8a36b87b32b (diff) | |
download | gdb-2bba1017ee23b3af4a9e6a44340a4a317ce18a4b.zip gdb-2bba1017ee23b3af4a9e6a44340a4a317ce18a4b.tar.gz gdb-2bba1017ee23b3af4a9e6a44340a4a317ce18a4b.tar.bz2 |
Fix HAVE_STRUCT_LINK_MAP32 configure test.
Diffstat (limited to 'gdb/configure.in')
-rw-r--r-- | gdb/configure.in | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/gdb/configure.in b/gdb/configure.in index 6dda43a..c1967af 100644 --- a/gdb/configure.in +++ b/gdb/configure.in @@ -239,17 +239,10 @@ if test "$ac_cv_header_sys_procfs_h" = yes; then AC_MSG_CHECKING(for struct link_map32 in sys/link.h) AC_CACHE_VAL(gdb_cv_have_struct_link_map32, - [AC_TRY_RUN([#define _SYSCALL32 - #include <sys/link.h> - int main() - { - if (sizeof (struct link_map32) > 0) - return 1; - return 0; - }], - gdb_cv_have_struct_link_map32=no, + [AC_TRY_COMPILE([#define _SYSCALL32 +#include <sys/link.h>], [struct link_map32 l;], gdb_cv_have_struct_link_map32=yes, - gdb_cv_have_struct_link_map32=yes)]) + gdb_cv_have_struct_link_map32=no)]) AC_MSG_RESULT($gdb_cv_have_struct_link_map32) if test $gdb_cv_have_struct_link_map32 = yes; then AC_DEFINE(HAVE_STRUCT_LINK_MAP32) |