forked from enlightenment/efl
autotools: on OSX warn about prefix being /usr
With Apple's SIP, nobody is allowed to modify the system (excepted /usr/local). If SIP is enabled, the installation will just fail.
This commit is contained in:
parent
833d87d4ef
commit
3f6b62515b
14
configure.ac
14
configure.ac
|
@ -6031,6 +6031,20 @@ if test "x$prefix" != "x/usr"; then
|
||||||
echo ""
|
echo ""
|
||||||
echo "#-------------------------------------------------------------------#"
|
echo "#-------------------------------------------------------------------#"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
elif test "x${have_darwin}" = "xyes"; then
|
||||||
|
echo ""
|
||||||
|
echo "#-------------------------------------------------------------------#"
|
||||||
|
echo "##==-- ALERT --==##"
|
||||||
|
echo "#-------------------------------------------------------------------#"
|
||||||
|
echo ""
|
||||||
|
echo " If you are running Mac OS X >= 10.11 (starting from El Capitan)"
|
||||||
|
echo " you will have TROUBLE with the prefix you have chosen (/usr)..."
|
||||||
|
echo " Don't make it double and consider to use the default prefix"
|
||||||
|
echo " (/usr/local). This is because of Apple's SIP that provides MAC"
|
||||||
|
echo " and prevents ANYONE modifying the system."
|
||||||
|
echo ""
|
||||||
|
echo "#-------------------------------------------------------------------#"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test "x${efl_deprecated_option}" = "xyes"; then
|
if test "x${efl_deprecated_option}" = "xyes"; then
|
||||||
|
|
Loading…
Reference in New Issue