From 1e9e1c5c58a0b394e799327485b12a23a64f7e06 Mon Sep 17 00:00:00 2001 From: "hwaara@gmail.com" Date: Tue, 11 Mar 2008 03:24:35 -0700 Subject: [PATCH] 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 --- configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 7483a2319d88..ee1289a08bf1 100644 --- a/configure.in +++ b/configure.in @@ -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;