From 2a5f01806247b7b18ff4fc857490a42d1e4698a3 Mon Sep 17 00:00:00 2001 From: ceylo Date: Wed, 22 Jul 2009 23:59:57 +0000 Subject: [PATCH] =?UTF-8?q?Added=20simple=20check=20for=20cheaters=20:-?= =?UTF-8?q?=C3=82=C2=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit git-svn-id: https://sfml.svn.sourceforge.net/svnroot/sfml/trunk@1188 4e206d99-4929-0410-ac5d-dfc041789085 --- build/xcode/dist/autogen.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/build/xcode/dist/autogen.sh b/build/xcode/dist/autogen.sh index 771c26de8..c2d2d38a8 100755 --- a/build/xcode/dist/autogen.sh +++ b/build/xcode/dist/autogen.sh @@ -70,6 +70,13 @@ print_usage() # Checks that the user computer can run this script check_config() { + os=`uname -s` + if [ $os != "Darwin" ] + then + echo "You're not running Mac OS X !" + exit 1 + fi + if ! test -f "/Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp" then echo "Missing tool pbxcp needed by this script (should be located at /Developer/Library/PrivateFrameworks/DevToolsCore.framework/Resources/pbxcp). Make sure Apple Developer Tools are correctly installed."