aboutsummaryrefslogtreecommitdiff
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
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
-rw-r--r--autoconf/configure.ac4
-rwxr-xr-xconfigure10
2 files changed, 6 insertions, 8 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac
index 8b4aef5788..464336e312 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
diff --git a/configure b/configure
index 65208d05c6..e2721f125d 100755
--- a/configure
+++ b/configure
@@ -21368,9 +21368,8 @@ rm -f conftest.mmap
if test "$ac_cv_func_mmap_fixed_mapped" = "no"
then
- { { echo "$as_me:$LINENO: error: mmap() required but not found" >&5
-echo "$as_me: error: mmap() required but not found" >&2;}
- { (exit 1); exit 1; }; }
+ { echo "$as_me:$LINENO: WARNING: mmap() required but not found" >&5
+echo "$as_me: WARNING: mmap() required but not found" >&2;}
fi
echo "$as_me:$LINENO: checking for mmap of files" >&5
echo $ECHO_N "checking for mmap of files... $ECHO_C" >&6
@@ -21460,9 +21459,8 @@ fi
if test "$ac_cv_func_mmap_file" = "no"
then
- { { echo "$as_me:$LINENO: error: mmap() of files required but not found" >&5
-echo "$as_me: error: mmap() of files required but not found" >&2;}
- { (exit 1); exit 1; }; }
+ { echo "$as_me:$LINENO: WARNING: mmap() of files required but not found" >&5
+echo "$as_me: WARNING: mmap() of files required but not found" >&2;}
fi
echo "$as_me:$LINENO: checking for MAP_ANONYMOUS vs. MAP_ANON" >&5
echo $ECHO_N "checking for MAP_ANONYMOUS vs. MAP_ANON... $ECHO_C" >&6