Only give warnings if the user doesn't have mmap(). This is pretty much
a hack that allows users to fight through a build if they don't have mmap().
When I get into the office, I'll make something better.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@13801 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 8b4aef5..464336e 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -273,12 +273,12 @@
AC_FUNC_MMAP
if test "$ac_cv_func_mmap_fixed_mapped" = "no"
then
- AC_MSG_ERROR([mmap() required but not found])
+ AC_MSG_WARN([mmap() required but not found])
fi
AC_FUNC_MMAP_FILE
if test "$ac_cv_func_mmap_file" = "no"
then
- AC_MSG_ERROR([mmap() of files required but not found])
+ AC_MSG_WARN([mmap() of files required but not found])
fi
AC_HEADER_MMAP_ANONYMOUS
AC_TYPE_SIGNAL