summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2005-01-07 10:49:32 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2005-01-07 10:49:32 (GMT)
commitc110f8665f22b13561a728d493a7699ea0acdda0 (patch)
tree458e5bc0df684f2a1cef723aa5c42cc0d95b8d83 /configure.in
parent97db05de3ee09011205e32a3e7d79ad4b1544abe (diff)
downloadcpython-c110f8665f22b13561a728d493a7699ea0acdda0.zip
cpython-c110f8665f22b13561a728d493a7699ea0acdda0.tar.gz
cpython-c110f8665f22b13561a728d493a7699ea0acdda0.tar.bz2
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.in')
-rw-r--r--configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in
index 9371a57..ba56c05 100644
--- a/configure.in
+++ b/configure.in
@@ -1325,11 +1325,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