summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRonald Oussoren <ronaldoussoren@mac.com>2009-09-07 06:12:00 +0000
committerRonald Oussoren <ronaldoussoren@mac.com>2009-09-07 06:12:00 +0000
commitb9d26f86f14dc19917ae4f9ddaa7a236240cc72f (patch)
treec784efbe8a0ed8f64197c47243361c167e66e124 /configure
parent42215d2028fb47cc60018362758ec26d55466469 (diff)
downloadcpython-b9d26f86f14dc19917ae4f9ddaa7a236240cc72f.tar.gz
Fix typo in configure.in
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure27
1 files changed, 22 insertions, 5 deletions
diff --git a/configure b/configure
index 9d9252600b..284b01488b 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 74667 .
+# From configure.in Revision: 74672 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for python 2.7.
#
@@ -1336,7 +1336,7 @@ Optional Packages:
--without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
--with-universal-archs=ARCH
select architectures for universal build ("32-bit",
- "64-bit" or "all")
+ "64-bit", "3-way", "intel" or "all")
--with-framework-name=FRAMEWORK
specify an alternate name of the framework built
with --enable-framework
@@ -4694,6 +4694,14 @@ echo "${ECHO_T}$ac_cv_no_strict_aliasing_ok" >&6; }
UNIVERSAL_ARCH_FLAGS="-arch i386 -arch ppc -arch ppc64 -arch x86_64"
ARCH_RUN_32BIT="arch -i386 -ppc"
+ elif test "$UNIVERSAL_ARCHS" = "intel" ; then
+ UNIVERSAL_ARCH_FLAGS="-arch i386 -arch x86_64"
+ ARCH_RUN_32BIT="arch -i386"
+
+ elif test "$UNIVERSAL_ARCHS" = "3-way" ; then
+ UNIVERSAL_ARCH_FLAGS="-arch i386 -arch ppc -arch x86_64"
+ ARCH_RUN_32BIT="arch -i386 -ppc"
+
else
{ { echo "$as_me:$LINENO: error: proper usage is --with-universalarch=32-bit|64-bit|all" >&5
echo "$as_me: error: proper usage is --with-universalarch=32-bit|64-bit|all" >&2;}
@@ -4721,6 +4729,15 @@ echo "$as_me: error: proper usage is --with-universalarch=32-bit|64-bit|all" >&2
# that's the first OS release where
# 4-way builds make sense.
cur_target='10.5'
+
+ elif test "${UNIVERSAL_ARCHS}" = "3-way"; then
+ cur_target='10.5'
+
+ elif test "${UNIVERSAL_ARCHS}" = "intel"; then
+ cur_target='10.5'
+
+ elif test "${UNIVERSAL_ARCHS}" = "64-bit"; then
+ cur_target='10.5'
fi
else
if test `arch` = "i386"; then
@@ -14488,7 +14505,7 @@ case $ac_sys_system/$ac_sys_release in
LIBTOOL_CRUFT=""
fi
if test "$cross_compiling" = yes; then
- ac_osx_32bit=no
+ ac_osx_32bit=yes
else
cat >conftest.$ac_ext <<_ACEOF
/* confdefs.h. */
@@ -14496,7 +14513,7 @@ _ACEOF
cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
-[
+
#include <unistd.h>
int main(int argc, char*argv[])
{
@@ -14505,7 +14522,7 @@ cat >>conftest.$ac_ext <<_ACEOF
} else {
return 1;
}
- ]
+
_ACEOF
rm -f conftest$ac_exeext
if { (ac_try="$ac_link"