bug 421689, Mozilla won't build with Xcode 3.1 (included with the iPhone SDK). Path by Matthew Gertner (matthew@allpeers.com). r=ted, a=dsicore

This commit is contained in:
hwaara@gmail.com 2008-03-11 03:24:35 -07:00
parent e357f6f9d9
commit af1e927e86

View File

@ -707,7 +707,7 @@ from building Mozilla. Upgrade to Xcode 2.1 or later.])
case "$PBBUILD" in
*xcodebuild*)
changequote(,)
XCODEBUILD_VERSION=`$PBBUILD -version 2>/dev/null | sed -e 's/.*DevToolsCore-\([0-9]*\).*/\1/'`
XCODEBUILD_VERSION=`$PBBUILD -version 2>/dev/null | sed -e 's/.*DevToolsCore-\([0-9]*\).*/\1/' | tail -n 1`
changequote([,])
if test -n "$XCODEBUILD_VERSION" && test "$XCODEBUILD_VERSION" -ge 620 ; then
HAS_XCODE_2_1=1;