On OS X, check if the Universal SDK is installed or fail with an explicit

error message.
This commit is contained in:
Eric Petit 2006-01-26 22:59:01 +00:00
parent 9809dcb05d
commit a948fcab3d
1 changed files with 14 additions and 0 deletions

14
configure vendored
View File

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