Commit 5b4bbc7d by Andris Pavenis Committed by Andris Pavenis

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
parent c1dd339f
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
......
...@@ -12304,9 +12304,10 @@ else ...@@ -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
......
...@@ -270,9 +270,10 @@ else ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment