summaryrefslogtreecommitdiff
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
parent833d87d4efea0370d934228c2714b10880f2228d (diff)
downloadefl-3f6b62515b52f3080b4ddcb720ecaf882b64a340.tar.gz
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.
-rw-r--r--configure.ac14
1 files changed, 14 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 03da7da2cc..9d305f1c6d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6031,6 +6031,20 @@ if test "x$prefix" != "x/usr"; then
echo ""
echo "#-------------------------------------------------------------------#"
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
if test "x${efl_deprecated_option}" = "xyes"; then