]> granicus.if.org Git - python/commitdiff
Explicitly use /usr/bin/arch on OSX, fixes issue 7715
authorRonald Oussoren <ronaldoussoren@mac.com>
Sun, 17 Jan 2010 19:32:00 +0000 (19:32 +0000)
committerRonald Oussoren <ronaldoussoren@mac.com>
Sun, 17 Jan 2010 19:32:00 +0000 (19:32 +0000)
configure
configure.in

index 40ed30954bc6525fb18d04fd2ba49ae067b74a01..f29edc7a3978da01553c880414654eca9d3e4ddd 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 77585 .
+# From configure.in Revision: 77587 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.61 for python 2.7.
 #
@@ -4814,17 +4814,17 @@ echo "${ECHO_T}\"'-extract ppc7400'\"" >&6; }
                 elif test "$UNIVERSAL_ARCHS" = "all" ; then
                   UNIVERSAL_ARCH_FLAGS="-arch i386 -arch ppc -arch ppc64 -arch x86_64"
                   LIPO_32BIT_FLAGS="-extract ppc7400 -extract i386"
-                  ARCH_RUN_32BIT="arch -i386 -ppc"
+                  ARCH_RUN_32BIT="/usr/bin/arch -i386 -ppc"
 
                 elif test "$UNIVERSAL_ARCHS" = "intel" ; then
                   UNIVERSAL_ARCH_FLAGS="-arch i386 -arch x86_64"
                   LIPO_32BIT_FLAGS="-extract i386"
-                  ARCH_RUN_32BIT="arch -i386"
+                  ARCH_RUN_32BIT="/usr/bin/arch -i386"
 
                 elif test "$UNIVERSAL_ARCHS" = "3-way" ; then
                   UNIVERSAL_ARCH_FLAGS="-arch i386 -arch ppc -arch x86_64"
                   LIPO_32BIT_FLAGS="-extract ppc7400 -extract i386"
-                  ARCH_RUN_32BIT="arch -i386 -ppc7400"
+                  ARCH_RUN_32BIT="/usr/bin/arch -i386 -ppc7400"
 
                 else
                   { { echo "$as_me:$LINENO: error: proper usage is --with-universal-arch=32-bit|64-bit|all|intel|3-way" >&5
index b3649cf416f62945ab79a6dd8e589bae7bce6ef2..7cd64d8e8221033181782a63830a8b0b4311ea50 100644 (file)
@@ -1053,17 +1053,17 @@ EOF
                 elif test "$UNIVERSAL_ARCHS" = "all" ; then
                   UNIVERSAL_ARCH_FLAGS="-arch i386 -arch ppc -arch ppc64 -arch x86_64"
                   LIPO_32BIT_FLAGS="-extract ppc7400 -extract i386"
-                  ARCH_RUN_32BIT="arch -i386 -ppc"
+                  ARCH_RUN_32BIT="/usr/bin/arch -i386 -ppc"
 
                 elif test "$UNIVERSAL_ARCHS" = "intel" ; then
                   UNIVERSAL_ARCH_FLAGS="-arch i386 -arch x86_64"
                   LIPO_32BIT_FLAGS="-extract i386"
-                  ARCH_RUN_32BIT="arch -i386"
+                  ARCH_RUN_32BIT="/usr/bin/arch -i386"
 
                 elif test "$UNIVERSAL_ARCHS" = "3-way" ; then
                   UNIVERSAL_ARCH_FLAGS="-arch i386 -arch ppc -arch x86_64"
                   LIPO_32BIT_FLAGS="-extract ppc7400 -extract i386"
-                  ARCH_RUN_32BIT="arch -i386 -ppc7400"
+                  ARCH_RUN_32BIT="/usr/bin/arch -i386 -ppc7400"
 
                 else
                   AC_MSG_ERROR([proper usage is --with-universal-arch=32-bit|64-bit|all|intel|3-way])