]> granicus.if.org Git - python/commitdiff
Fix buglet in fix for issue3381
authorRonald Oussoren <ronaldoussoren@mac.com>
Tue, 22 Jul 2008 07:06:00 +0000 (07:06 +0000)
committerRonald Oussoren <ronaldoussoren@mac.com>
Tue, 22 Jul 2008 07:06:00 +0000 (07:06 +0000)
configure
configure.in

index 0e028ff2329835ff3e4fedc19e4f619f9e2e577f..3656e6256936145504349f736081a118c06d0633 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.in Revision: 65033 .
+# From configure.in Revision: 65061 .
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.61 for python 2.6.
 #
@@ -4667,7 +4667,7 @@ echo "$as_me: error: proper usage is --with-universalarch=32-bit|64-bit|all" >&2
 
 
                BASECFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${BASECFLAGS}"
-               tgt=`sw_vers -productVersion | sed 's/\(10\.0-9*\).*/\1/'`
+               tgt=`sw_vers -productVersion | sed 's/\(10\.[0-9]*\).*/\1/'`
                if test "${UNIVERSALSDK}" != "/" -a "${tgt}" '>' '10.4' ; then
                        CFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${CFLAGS}"
                fi
index 67d7f969a11da7ebea8c0b9f11d32c3055839988..0c96c5a88e808b675284bc08fb5d832aab51772c 100644 (file)
@@ -925,7 +925,7 @@ yes)
 
 
                BASECFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${BASECFLAGS}"
-               tgt=`sw_vers -productVersion | sed 's/\(10\.[0-9]*\).*/\1/'`
+               tgt=`sw_vers -productVersion | sed 's/\(10\.[[0-9]]*\).*/\1/'`
                if test "${UNIVERSALSDK}" != "/" -a "${tgt}" '>' '10.4' ; then
                        CFLAGS="${UNIVERSAL_ARCH_FLAGS} -isysroot ${UNIVERSALSDK} ${CFLAGS}"
                fi