ref: fd7f92b6f008e0684c3eb8308aca92e20382506e
parent: 0636dc8af1e502c343b126b50f3a0dbec8f3fc26
author: Alexei Podtelezhnikov <[email protected]>
date: Wed Feb 3 09:44:14 EST 2021
* builds/unix/configure.raw [mmap]: Restore default path. Fixes #1023.
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2021-02-03 Alexei Podtelezhnikov <[email protected]>
+
+ * builds/unix/configure.raw [mmap]: Restore default path.
+
+ Fixes #1023.
+
2021-02-03 Werner Lemberg <[email protected]>
[psaux] Fix integer overflow.
--- a/builds/unix/configure.raw
+++ b/builds/unix/configure.raw
@@ -204,9 +204,8 @@
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,11 +225,16 @@
])
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])