Specify that DJGPP do not have mmap even when sys/mman.h exists
authorAndris Pavenis <andris.pavenis@iki.fi>
Fri, 18 Dec 2015 04:36:11 +0000 (06:36 +0200)
committerAndris Pavenis <andris@gcc.gnu.org>
Fri, 18 Dec 2015 04:36:11 +0000 (06:36 +0200)
* configure.ac: Specify that DJGPP do not have mmap even when sys/mman.h exists
* configure: Regenerate

From-SVN: r231802

libbacktrace/ChangeLog
libbacktrace/configure
libbacktrace/configure.ac

index 23f3da1bbdc92384e2e2732961535d55e4b6dc0b..92fb6db902e6c316dbd9eb07abe6106d4f4d41df 100644 (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>
 
        PR 68115/libfortran
index 8d0146ac378e39191588419a2ac0570856d51def..4e720e19f430c03b914569cfeb1e4eb79870bd8d 100755 (executable)
@@ -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
index db4a291dea9edc3129413d1c6c4a73a08850d4d2..f07254b4ea9863650c889f921ffeaed775e03ab1 100644 (file)
@@ -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