From: Andris Pavenis Date: Fri, 18 Dec 2015 04:36:11 +0000 (+0200) Subject: Specify that DJGPP do not have mmap even when sys/mman.h exists X-Git-Tag: basepoints/gcc-7~1992 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5b4bbc7dfbe1543796b557b233f3d14af502b3f4;p=thirdparty%2Fgcc.git Specify that DJGPP do not have mmap even when sys/mman.h exists * configure.ac: Specify that DJGPP do not have mmap even when sys/mman.h exists * configure: Regenerate From-SVN: r231802 --- diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index 23f3da1bbdc9..92fb6db902e6 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -1,3 +1,8 @@ +2015-12-18 Andris Pavenis + + * configure.ac: Specify that DJGPP do not have mmap even when sys/mman.h exists + * configure: Regenerate + 2015-12-09 John David Anglin PR 68115/libfortran diff --git a/libbacktrace/configure b/libbacktrace/configure index 8d0146ac378e..4e720e19f430 100755 --- a/libbacktrace/configure +++ b/libbacktrace/configure @@ -12304,9 +12304,10 @@ else # simply assume that if we have mman.h, we have mmap. have_mmap=yes case "${host}" in - spu-*-*) + spu-*-*|*-*-msdosdjgpp) # The SPU does not have mmap, but it has a sys/mman.h header file # containing "mmap_eaddr" and the mmap flags, confusing the test. + # DJGPP also has sys/man.h, but no mmap have_mmap=no ;; esac else diff --git a/libbacktrace/configure.ac b/libbacktrace/configure.ac index db4a291dea9e..f07254b4ea98 100644 --- a/libbacktrace/configure.ac +++ b/libbacktrace/configure.ac @@ -270,9 +270,10 @@ else # simply assume that if we have mman.h, we have mmap. have_mmap=yes case "${host}" in - spu-*-*) + spu-*-*|*-*-msdosdjgpp) # The SPU does not have mmap, but it has a sys/mman.h header file # containing "mmap_eaddr" and the mmap flags, confusing the test. + # DJGPP also has sys/man.h, but no mmap have_mmap=no ;; esac else