summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorJean Guyomarc'h <jean.guyomarch@gmail.com>2016-04-02 22:17:53 +0200
committerJean Guyomarc'h <jean.guyomarch@gmail.com>2016-04-02 22:25:11 +0200
commit3f6b62515b52f3080b4ddcb720ecaf882b64a340 (patch)
treee2800259185fc204d95e652e15d4d10c283204c4 /configure.ac
parent833d87d4efea0370d934228c2714b10880f2228d (diff)
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.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac14
1 files changed, 14 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 03da7da..9d305f1 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6031,6 +6031,20 @@ if test "x$prefix" != "x/usr"; then
6031 echo "" 6031 echo ""
6032 echo "#-------------------------------------------------------------------#" 6032 echo "#-------------------------------------------------------------------#"
6033 fi 6033 fi
6034
6035elif test "x${have_darwin}" = "xyes"; then
6036 echo ""
6037 echo "#-------------------------------------------------------------------#"
6038 echo "##==-- ALERT --==##"
6039 echo "#-------------------------------------------------------------------#"
6040 echo ""
6041 echo " If you are running Mac OS X >= 10.11 (starting from El Capitan)"
6042 echo " you will have TROUBLE with the prefix you have chosen (/usr)..."
6043 echo " Don't make it double and consider to use the default prefix"
6044 echo " (/usr/local). This is because of Apple's SIP that provides MAC"
6045 echo " and prevents ANYONE modifying the system."
6046 echo ""
6047 echo "#-------------------------------------------------------------------#"
6034fi 6048fi
6035 6049
6036if test "x${efl_deprecated_option}" = "xyes"; then 6050if test "x${efl_deprecated_option}" = "xyes"; then