mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-24 20:29:53 +00:00
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
This commit is contained in:
parent
75dbe8eafa
commit
f3ecf3a40c
@ -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
|
||||
|
10
configure
vendored
10
configure
vendored
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user