summaryrefslogtreecommitdiff
path: root/autoconf
diff options
context:
space:
mode:
authorJohn Criswell <criswell@uiuc.edu>2004-05-27 00:57:50 +0000
committerJohn Criswell <criswell@uiuc.edu>2004-05-27 00:57:50 +0000
commitf3ecf3a40c07d52c6d7817e0dfa75fa38e33e0d3 (patch)
treeb54147fd1441c3ccc3928a10a0d3bc30af8941dd /autoconf
parent75dbe8eafaf9429e0a5881c64ecada4577d5c036 (diff)
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
Diffstat (limited to 'autoconf')
-rw-r--r--autoconf/configure.ac4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 8b4aef57887..464336e3123 100644
--- a/autoconf/configure.ac
+++ b/autoconf/configure.ac
@@ -273,12 +273,12 @@ AC_FUNC_ALLOCA
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