Mac: additional error checking in build script

svn path=/trunk/boinc/; revision=14501
This commit is contained in:
Charlie Fenton 2008-01-09 00:52:02 +00:00
parent b3cc67a480
commit 2776f61bc1
2 changed files with 15 additions and 3 deletions

View File

@ -228,3 +228,9 @@ David Jan 8 2008
client/
app_control.C
Charlie Jan 8 2008
- Mac: additional error checking in build script.
mac_build/
BuildMacBOINC.sh

View File

@ -108,19 +108,25 @@ major=`echo $version | sed 's/\([0-9]*\)[.].*/\1/' `;
# Darwin version 6.x corresponds to OS 10.2.x
if [ "$major" -lt "8" ]; then
echo "ERROR: Building BOINC requires System 10.4 or later. For details, see build instructions at "
echo "ERROR: Building BOINC requires System 10.4 or later. For details, see build instructions at"
echo "boinc/mac_build/HowToBuildBOINC_XCode.rtf or http://boinc.berkeley.edu/mac_build.html"
return 1
fi
if [ "$major" -gt "8" ]; then
echo "Building BOINC under System 10.5"
echo "Building BOINC under System 10.5 or later"
else
echo "Building BOINC under System 10.4"
fi
if [ ! -d /Developer/SDKs/MacOSX10.3.9.sdk/ ]; then
echo "ERROR: System 10.3.9 SDK is missing. For details, see build instructions at "
echo "ERROR: System 10.3.9 SDK is missing. For details, see build instructions at"
echo "boinc/mac_build/HowToBuildBOINC_XCode.rtf or http://boinc.berkeley.edu/mac_build.html"
return 1
fi
if [ ! -d /Developer/SDKs/MacOSX10.4u.sdk/ ]; then
echo "ERROR: System 10.4u SDK is missing. For details, see build instructions at"
echo "boinc/mac_build/HowToBuildBOINC_XCode.rtf or http://boinc.berkeley.edu/mac_build.html"
return 1
fi