aboutsummaryrefslogtreecommitdiff
path: root/bfd/aclocal.m4
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2000-08-30 18:12:21 +0000
committerMichael Snyder <msnyder@vmware.com>2000-08-30 18:12:21 +0000
commit7ee38065312ef0414af77402fcfd670eae81d6a0 (patch)
treeda2ce2878cf7f761d3179faabf321b9688c46936 /bfd/aclocal.m4
parent7d352fc8cbfe3663b32cbbabaca8a8d4fb63540f (diff)
downloadgdb-7ee38065312ef0414af77402fcfd670eae81d6a0.zip
gdb-7ee38065312ef0414af77402fcfd670eae81d6a0.tar.gz
gdb-7ee38065312ef0414af77402fcfd670eae81d6a0.tar.bz2
2000-08-29 Michael Snyder <msnyder@seadog.cygnus.com>
* elf.c: Eliminate references to __sparcv9 macro; replace with autoconf variables HAVE_PSINFO32_T etc. * configure.in: Auto-configure HAVE_PSINFO_32_T, HAVE_PRPSINFO32_T, HAVE_PSTATUS32_T, HAVE_PRSTATUS32_T, HAVE_PRSTATUS32_T_PR_WHO. * config.in: Ditto. * acinclude.m4 (BFD_HAVE_SYS_PROCFS_TYPE) define _SYSCALL32 so it can detect the above typedefs. (BFD_HAVE_SYS_PROCFS_TYPE_MEMBER): Ditto. * aclocal.m4: Ditto. * configure: Regenerate.
Diffstat (limited to 'bfd/aclocal.m4')
-rw-r--r--bfd/aclocal.m49
1 files changed, 7 insertions, 2 deletions
diff --git a/bfd/aclocal.m4 b/bfd/aclocal.m4
index a53eda7..42c58a3 100644
--- a/bfd/aclocal.m4
+++ b/bfd/aclocal.m4
@@ -1,3 +1,4 @@
+
dnl aclocal.m4 generated automatically by aclocal 1.4
dnl Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
@@ -86,7 +87,9 @@ dnl Check for existence of a type $1 in sys/procfs.h
AC_DEFUN(BFD_HAVE_SYS_PROCFS_TYPE,
[AC_MSG_CHECKING([for $1 in sys/procfs.h])
AC_CACHE_VAL(bfd_cv_have_sys_procfs_type_$1,
- [AC_TRY_COMPILE([#include <sys/procfs.h>],
+ [AC_TRY_COMPILE([
+#define _SYSCALL32
+#include <sys/procfs.h>],
[$1 avar],
bfd_cv_have_sys_procfs_type_$1=yes,
bfd_cv_have_sys_procfs_type_$1=no
@@ -104,7 +107,9 @@ dnl Check for existence of member $2 in type $1 in sys/procfs.h
AC_DEFUN(BFD_HAVE_SYS_PROCFS_TYPE_MEMBER,
[AC_MSG_CHECKING([for $1.$2 in sys/procfs.h])
AC_CACHE_VAL(bfd_cv_have_sys_procfs_type_member_$1_$2,
- [AC_TRY_COMPILE([#include <sys/procfs.h>],
+ [AC_TRY_COMPILE([
+#define _SYSCALL32
+#include <sys/procfs.h>],
[$1 avar; void* aref = (void*) &avar.$2],
bfd_cv_have_sys_procfs_type_member_$1_$2=yes,
bfd_cv_have_sys_procfs_type_member_$1_$2=no