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
This commit is contained in:
Andris Pavenis 2015-12-18 06:36:11 +02:00 committed by Andris Pavenis
parent c1dd339fa0
commit 5b4bbc7dfb
3 changed files with 9 additions and 2 deletions

View File

@ -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> 2015-12-09 John David Anglin <danglin@gcc.gnu.org>
PR 68115/libfortran PR 68115/libfortran

View File

@ -12304,9 +12304,10 @@ else
# simply assume that if we have mman.h, we have mmap. # simply assume that if we have mman.h, we have mmap.
have_mmap=yes have_mmap=yes
case "${host}" in case "${host}" in
spu-*-*) spu-*-*|*-*-msdosdjgpp)
# The SPU does not have mmap, but it has a sys/mman.h header file # 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. # containing "mmap_eaddr" and the mmap flags, confusing the test.
# DJGPP also has sys/man.h, but no mmap
have_mmap=no ;; have_mmap=no ;;
esac esac
else else

View File

@ -270,9 +270,10 @@ else
# simply assume that if we have mman.h, we have mmap. # simply assume that if we have mman.h, we have mmap.
have_mmap=yes have_mmap=yes
case "${host}" in case "${host}" in
spu-*-*) spu-*-*|*-*-msdosdjgpp)
# The SPU does not have mmap, but it has a sys/mman.h header file # 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. # containing "mmap_eaddr" and the mmap flags, confusing the test.
# DJGPP also has sys/man.h, but no mmap
have_mmap=no ;; have_mmap=no ;;
esac esac
else else