* builds/unix/configure.raw [mmap]: Restore default path. Fixes #1023.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
diff --git a/ChangeLog b/ChangeLog
index 4f4af4e..05884b0 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2021-02-03 Alexei Podtelezhnikov <apodtele@gmail.com>
+
+ * builds/unix/configure.raw [mmap]: Restore default path.
+
+ Fixes #1023.
+
2021-02-03 Werner Lemberg <wl@gnu.org>
[psaux] Fix integer overflow.
diff --git a/builds/unix/configure.raw b/builds/unix/configure.raw
index 816d6b8..c0c8592 100644
--- a/builds/unix/configure.raw
+++ b/builds/unix/configure.raw
@@ -204,9 +204,8 @@ if test "x${enable_mmap}" != "xno"; then
case "$host" in
*-*-mingw*)
AC_MSG_CHECKING([for working mmap])
- AC_MSG_RESULT([using Windows-specific equivalent])
+ AC_MSG_RESULT([using MapViewOfFile in Windows])
FTSYS_SRC='$(TOP_DIR)/builds/windows/ftsystem.c'
- AC_SUBST([FTSYS_SRC])
;;
*)
AC_FUNC_MMAP
@@ -226,12 +225,17 @@ if test "x${enable_mmap}" != "xno"; then
])
FT_MUNMAP_PARAM
- AC_SUBST([FTSYS_SRC])
fi
;;
esac
fi
+if test -z "$FTSYS_SRC"; then
+ FTSYS_SRC='$(BASE_DIR)/ftsystem.c'
+fi
+AC_SUBST([FTSYS_SRC])
+
+
AC_CHECK_FUNCS([memcpy memmove])