This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
proposed fix for PR bootstrap/15093
- From: Joe Buck <Joe dot Buck at synopsys dot COM>
- To: gcc-patches at gcc dot gnu dot org
- Date: Mon, 26 Apr 2004 17:35:46 -0700
- Subject: proposed fix for PR bootstrap/15093
The following patch is intended for the 3.4 branch; in the trunk,
there is no longer a gcc/libffi/configure.in file.
I verified that it works correctly on alpha-dec-osf5.1 with autoconf 2.13.
If approved, I will need for someone else to apply the patch.
2004-04-26 Joe Buck <jbuck@welsh-buck.org>
* configure.in: 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.