Skip to content
This repository has been archived by the owner on Oct 3, 2020. It is now read-only.

Commit

Permalink
Bug 641232 - Make HAS_XCODE_2_1 detection compatible with Xcode 4 - R…
Browse files Browse the repository at this point in the history
…emove unused configure bits. r=khuey
  • Loading branch information
cixtor committed Jun 20, 2011
1 parent 3b50d11 commit c553e0f
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 44 deletions.
2 changes: 0 additions & 2 deletions config/autoconf.mk.in
Original file line number Diff line number Diff line change
Expand Up @@ -666,8 +666,6 @@ LIBCONIC_LIBS = @LIBCONIC_LIBS@
MACOS_SDK_DIR = @MACOS_SDK_DIR@
NEXT_ROOT = @NEXT_ROOT@
GCC_VERSION = @GCC_VERSION@
XCODEBUILD_VERSION= @XCODEBUILD_VERSION@
HAS_XCODE_2_1 = @HAS_XCODE_2_1@
UNIVERSAL_BINARY= @UNIVERSAL_BINARY@
HAVE_DTRACE= @HAVE_DTRACE@

Expand Down
7 changes: 0 additions & 7 deletions config/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -591,13 +591,6 @@ ifeq (2,$(MOZ_OPTIMIZE))
PBBUILD_SETTINGS += GCC_MODEL_TUNING= OPTIMIZATION_CFLAGS="$(MOZ_OPTIMIZE_FLAGS)"
endif # MOZ_OPTIMIZE=2
endif # MOZ_OPTIMIZE
ifeq (1,$(HAS_XCODE_2_1))
# Xcode 2.1 puts its build products in a directory corresponding to the
# selected build style/configuration.
XCODE_PRODUCT_DIR = build/$(BUILDSTYLE)
else
XCODE_PRODUCT_DIR = build
endif # HAS_XCODE_2_1=1
endif # OS_ARCH=Darwin


Expand Down
13 changes: 0 additions & 13 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -1014,26 +1014,13 @@ from building Mozilla. Upgrade to Xcode 2.1 or later.])
dnl /usr/bin/g(cc|++)-$GCC_VERSION.
MOZ_PATH_PROGS(PBBUILD, pbbuild xcodebuild pbxbuild)

case "$PBBUILD" in
*xcodebuild*)
changequote(,)
XCODEBUILD_VERSION=`$PBBUILD -version 2>/dev/null | xargs | sed -e 's/.*DevToolsCore-\([0-9]*\).*/\1/'`
changequote([,])
if test -n "$XCODEBUILD_VERSION" && test "$XCODEBUILD_VERSION" -ge 620 ; then
HAS_XCODE_2_1=1;
fi
;;
esac

dnl sdp was formerly in /Developer/Tools. As of Mac OS X 10.4 (Darwin 8),
dnl it has moved into /usr/bin.
MOZ_PATH_PROG(SDP, sdp, :, [$PATH:/usr/bin:/Developer/Tools])
;;
esac

AC_SUBST(GCC_VERSION)
AC_SUBST(XCODEBUILD_VERSION)
AC_SUBST(HAS_XCODE_2_1)

dnl The universal machinery sets UNIVERSAL_BINARY to inform packager.mk
dnl that a universal binary is being produced.
Expand Down
2 changes: 0 additions & 2 deletions js/src/config/autoconf.mk.in
Original file line number Diff line number Diff line change
Expand Up @@ -323,8 +323,6 @@ QEMU_CANT_RUN_JS_SHELL = @QEMU_CANT_RUN_JS_SHELL@
MACOS_SDK_DIR = @MACOS_SDK_DIR@
NEXT_ROOT = @NEXT_ROOT@
GCC_VERSION = @GCC_VERSION@
XCODEBUILD_VERSION= @XCODEBUILD_VERSION@
HAS_XCODE_2_1 = @HAS_XCODE_2_1@
UNIVERSAL_BINARY= @UNIVERSAL_BINARY@
HAVE_DTRACE= @HAVE_DTRACE@

Expand Down
7 changes: 0 additions & 7 deletions js/src/config/config.mk
Original file line number Diff line number Diff line change
Expand Up @@ -591,13 +591,6 @@ ifeq (2,$(MOZ_OPTIMIZE))
PBBUILD_SETTINGS += GCC_MODEL_TUNING= OPTIMIZATION_CFLAGS="$(MOZ_OPTIMIZE_FLAGS)"
endif # MOZ_OPTIMIZE=2
endif # MOZ_OPTIMIZE
ifeq (1,$(HAS_XCODE_2_1))
# Xcode 2.1 puts its build products in a directory corresponding to the
# selected build style/configuration.
XCODE_PRODUCT_DIR = build/$(BUILDSTYLE)
else
XCODE_PRODUCT_DIR = build
endif # HAS_XCODE_2_1=1
endif # OS_ARCH=Darwin


Expand Down
13 changes: 0 additions & 13 deletions js/src/configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -1036,26 +1036,13 @@ from building Mozilla. Upgrade to Xcode 2.1 or later.])
dnl /usr/bin/g(cc|++)-$GCC_VERSION.
MOZ_PATH_PROGS(PBBUILD, pbbuild xcodebuild pbxbuild)

case "$PBBUILD" in
*xcodebuild*)
changequote(,)
XCODEBUILD_VERSION=`$PBBUILD -version 2>/dev/null | xargs | sed -e 's/.*DevToolsCore-\([0-9]*\).*/\1/'`
changequote([,])
if test -n "$XCODEBUILD_VERSION" && test "$XCODEBUILD_VERSION" -ge 620 ; then
HAS_XCODE_2_1=1;
fi
;;
esac

dnl sdp was formerly in /Developer/Tools. As of Mac OS X 10.4 (Darwin 8),
dnl it has moved into /usr/bin.
MOZ_PATH_PROG(SDP, sdp, :, [$PATH:/usr/bin:/Developer/Tools])
;;
esac

AC_SUBST(GCC_VERSION)
AC_SUBST(XCODEBUILD_VERSION)
AC_SUBST(HAS_XCODE_2_1)

dnl The universal machinery sets UNIVERSAL_BINARY to inform packager.mk
dnl that a universal binary is being produced.
Expand Down

0 comments on commit c553e0f

Please sign in to comment.