diff options
author | andris <andris@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-12-18 04:36:11 +0000 |
---|---|---|
committer | andris <andris@138bc75d-0d04-0410-961f-82ee72b054a4> | 2015-12-18 04:36:11 +0000 |
commit | b767924b1ac1b9e421bd971e9d120f2fd66ffefa (patch) | |
tree | 1a2bf3664127bda6bf0879c3360e046ca8b56dbb /libbacktrace | |
parent | d98ee679f1baad234ebdcfee1d41db7976259145 (diff) | |
download | gcc-b767924b1ac1b9e421bd971e9d120f2fd66ffefa.tar.gz |
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
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@231802 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libbacktrace')
-rw-r--r-- | libbacktrace/ChangeLog | 5 | ||||
-rwxr-xr-x | libbacktrace/configure | 3 | ||||
-rw-r--r-- | libbacktrace/configure.ac | 3 |
3 files changed, 9 insertions, 2 deletions
diff --git a/libbacktrace/ChangeLog b/libbacktrace/ChangeLog index 23f3da1bbdc..92fb6db902e 100644 --- a/libbacktrace/ChangeLog +++ b/libbacktrace/ChangeLog @@ -1,3 +1,8 @@ +2015-12-18 Andris Pavenis <andris.pavenis@iki.fi> + + * configure.ac: Specify that DJGPP do not have mmap even when sys/mman.h exists + * configure: Regenerate + 2015-12-09 John David Anglin <danglin@gcc.gnu.org> PR 68115/libfortran diff --git a/libbacktrace/configure b/libbacktrace/configure index 8d0146ac378..4e720e19f43 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 db4a291dea9..f07254b4ea9 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 |