diff options
author | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-27 05:41:45 +0000 |
---|---|---|
committer | wilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-04-27 05:41:45 +0000 |
commit | 2be990303bb3a1afc3dd9c896876fa5d2d2118f6 (patch) | |
tree | d028a102af956e1780145edfb983945c6e2a248a /libffi/configure.ac | |
parent | 9499064ad246f457a05255df0fdc48c3ece672c7 (diff) | |
download | gcc-2be990303bb3a1afc3dd9c896876fa5d2d2118f6.tar.gz |
Bug 15093
* configure.ac: Test for existence of mmap and sys/mman.h before
checking blacklist. Fix suggested by Jim Wilson.
* configure: Regenerate.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81212 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libffi/configure.ac')
-rw-r--r-- | libffi/configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libffi/configure.ac b/libffi/configure.ac index 584a7d8a15f..c6be71c733a 100644 --- a/libffi/configure.ac +++ b/libffi/configure.ac @@ -37,6 +37,8 @@ AC_PROG_LIBTOOL 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. |