jayji pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=3f6b62515b52f3080b4ddcb720ecaf882b64a340

commit 3f6b62515b52f3080b4ddcb720ecaf882b64a340
Author: Jean Guyomarc'h <jean.guyoma...@gmail.com>
Date:   Sat Apr 2 22:17:53 2016 +0200

    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.
---
 configure.ac | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

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
     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

-- 


Reply via email to