From a948fcab3daed7075e8dded7e9062a3a1939085b Mon Sep 17 00:00:00 2001 From: Eric Petit Date: Thu, 26 Jan 2006 22:59:01 +0000 Subject: [PATCH] On OS X, check if the Universal SDK is installed or fail with an explicit error message. --- configure | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/configure b/configure index 4aab4a6e0..9624c77fb 100755 --- a/configure +++ b/configure @@ -180,6 +180,20 @@ case $SYSTEM in esac echo "System: $SYSTEM" +# +# Mac OS X check for the Universal SDK +# +if [ $SYSTEM = Darwin -a ! -d /Developer/SDKs/MacOSX10.4u.sdk ]; then + echo + echo "You need to install the Universal SDK in order to build Transmission:" + echo " Get your Xcode CD or package" + echo " Restart the install" + echo " When it gets to \"Installation Type\", select \"Customize\"" + echo " Select \"Mac OS X 10.4 (Universal) SDL\" under \"Cross Development\"" + echo " Finish the install." + exit 1 +fi + # # OpenSSL settings #