* builds/unix/configure.raw [mmap]: Restore default path.

Fixes #1023.
This commit is contained in:
Alexei Podtelezhnikov 2021-02-03 14:44:14 -05:00
parent 0636dc8af1
commit fd7f92b6f0
2 changed files with 13 additions and 3 deletions

View File

@ -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.

View File

@ -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])