summaryrefslogtreecommitdiff
path: root/configure.in
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2001-04-27 23:59:51 +0000
committerChristos Zoulas <christos@zoulas.com>2001-04-27 23:59:51 +0000
commitc15a4a87f37bfc715b8e045221a957ae1d19cb99 (patch)
treefbaca97a7d36d7013bf0ce200afc30ef37649fd5 /configure.in
parentd7ee1e5f7d78daad40b91d03eeac9124d84b2f87 (diff)
downloadfile-git-c15a4a87f37bfc715b8e045221a957ae1d19cb99.tar.gz
Always enable quick mode, even if we don't have mmap (christos)
Autoconf help for mmap (Alexander Mai)
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index ca437c4b..ccd84ca1 100644
--- a/configure.in
+++ b/configure.in
@@ -42,6 +42,7 @@ AC_HEADER_MAJOR
AC_HEADER_SYS_WAIT
AC_CHECK_HEADERS(unistd.h)
AC_CHECK_HEADERS(locale.h)
+AC_CHECK_HEADERS(sys/mman.h)
dnl Checks for typedefs, structures, and compiler characteristics.
AC_C_CONST
@@ -69,6 +70,6 @@ AC_CHECK_SIZEOF_STDC_HEADERS(uint32_t, 0)
AC_CHECK_SIZEOF_STDC_HEADERS(uint64_t, 0)
dnl Checks for functions
-AC_CHECK_FUNCS(strerror strtoul)
+AC_CHECK_FUNCS(mmap strerror strtoul)
AC_OUTPUT(Makefile)