diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-05-13 13:29:16 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2002-05-13 13:29:16 +0000 |
commit | 56b2bd657b0d4248b516800fef776d9e2c772d7d (patch) | |
tree | cfe48f3cd40d9ef1bec5152dace4afde07f7cb56 /gnu/usr.bin/binutils/bfd/acinclude.m4 | |
parent | 30323be41a1be71af09d81cb33ade9cddea38966 (diff) |
Import binutils-2.11.2
- only the binutils package (no gdb here)
- don't import libiberty and texinfo, they are elsewhere
- remove all .info* generated files
Diffstat (limited to 'gnu/usr.bin/binutils/bfd/acinclude.m4')
-rw-r--r-- | gnu/usr.bin/binutils/bfd/acinclude.m4 | 22 |
1 files changed, 20 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/bfd/acinclude.m4 b/gnu/usr.bin/binutils/bfd/acinclude.m4 index cac26e8e7dd..53912943d2c 100644 --- a/gnu/usr.bin/binutils/bfd/acinclude.m4 +++ b/gnu/usr.bin/binutils/bfd/acinclude.m4 @@ -74,7 +74,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 @@ -92,7 +94,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 @@ -104,4 +108,18 @@ AC_DEFUN(BFD_HAVE_SYS_PROCFS_TYPE_MEMBER, AC_MSG_RESULT($bfd_cv_have_sys_procfs_type_member_$1_$2) ]) +sinclude(../libtool.m4) +dnl The lines below arrange for aclocal not to bring libtool.m4 +dnl AM_PROG_LIBTOOL into aclocal.m4, while still arranging for automake +dnl to add a definition of LIBTOOL to Makefile.in. +ifelse(yes,no,[ +AC_DEFUN([AM_PROG_LIBTOOL],) +AC_DEFUN([AM_DISABLE_SHARED],) +AC_SUBST(LIBTOOL) +]) +sinclude(../gettext.m4) +ifelse(yes,no,[ +AC_DEFUN([CY_WITH_NLS],) +AC_SUBST(INTLLIBS) +]) |