Fix HAVE_STRUCT_LINK_MAP32 configure test.

This commit is contained in:
Kevin Buettner 2000-09-11 17:57:07 +00:00
parent de827f513e
commit 2bba1017ee
3 changed files with 153 additions and 182 deletions

View File

@ -1,3 +1,9 @@
2000-09-11 Kevin Buettner <kevinb@redhat.com>
* configure.in (HAVE_STRUCT_LINK_MAP32): Change test to use
AC_TRY_COMPILE instead of AC_TRY_RUN.
* configure: Regenerate.
2000-09-11 Kevin Buettner <kevinb@redhat.com>
* irix4-nat.c (fetch_core_registers): Protoize.

316
gdb/configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -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)