proposed fix for PR bootstrap/15093 [for trunk]
Joe Buck
Joe.Buck@synopsys.COM
Tue Apr 27 00:55:00 GMT 2004
The following patch is intended for the trunk, where we have
configure.ac instead of configure.in
2004-04-26 Joe Buck <jbuck@welsh-buck.org>
* configure.ac: Test for existence of mmap before checking
blacklist. Fix suggested by Jim Wilson.
Index: configure.in
===================================================================
RCS file: /cvs/gcc/gcc/libffi/Attic/configure.in,v
retrieving revision 1.48
diff -u -r1.48 configure.in
--- configure.in 15 Jan 2004 03:41:46 -0000 1.48
+++ configure.in 27 Apr 2004 00:27:47 -0000
@@ -47,6 +47,8 @@
AC_PROG_LIBTOOL
+AC_CHECK_HEADERS(sys/mman.h)
+AC_CHECK_FUNCS(mmap)
AC_FUNC_MMAP_BLACKLIST
dnl The -no-testsuite modules omit the test subdir.
Index: configure.ac
===================================================================
RCS file: /cvs/gcc/gcc/libffi/configure.ac,v
retrieving revision 1.2
diff -u -r1.2 configure.ac
--- configure.ac 19 Mar 2004 22:34:16 -0000 1.2
+++ configure.ac 27 Apr 2004 00:51:12 -0000
@@ -37,6 +37,8 @@
AM_MAINTAINER_MODE
+AC_CHECK_HEADERS(sys/mman.h)
+AC_CHECK_FUNCS(mmap)
AC_FUNC_MMAP_BLACKLIST
dnl The -no-testsuite modules omit the test subdir.
More information about the Gcc-patches
mailing list