summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2005-01-07 13:13:50 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2005-01-07 13:13:50 (GMT)
commitc55bb8a98fd249dbdd558f358ea12269d6221e86 (patch)
tree8f69bb136ebbaee5cc5ebeca1deb17685e081d64 /configure
parent91199cf81d87e73d7094ec0376b6a85b64904dfa (diff)
downloadcpython-c55bb8a98fd249dbdd558f358ea12269d6221e86.zip
cpython-c55bb8a98fd249dbdd558f358ea12269d6221e86.tar.gz
cpython-c55bb8a98fd249dbdd558f358ea12269d6221e86.tar.bz2
Backport of 1.479:
Always set CONFIGURE_MACOSX_DEPLOYMENT_TARGET otherwise it may be set to an empty value and distutils will get confused lateron.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index d097ff8..ec0ccae 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 1.475.2.2 .
+# From configure.in Revision: 1.475.2.3 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for python 2.4.
#
@@ -10323,11 +10323,11 @@ then
# Use -undefined dynamic_lookup whenever possible (10.3 and later).
# This allows an extension to be used in any Python
cur_target=`sw_vers -productVersion | sed 's/\(10\.[0-9]*\).*/\1/'`
+ CONFIGURE_MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET-${cur_target}}
if test ${MACOSX_DEPLOYMENT_TARGET-${cur_target}} '>' 10.2
then
LDSHARED='$(CC) $(LDFLAGS) -bundle -undefined dynamic_lookup'
BLDSHARED="$LDSHARED"
- CONFIGURE_MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET-${cur_target}}
else
LDSHARED='$(CC) $(LDFLAGS) -bundle'
if test "$enable_framework" ; then