summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-03-17 15:44:10 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-03-17 15:44:10 (GMT)
commit7b59b42a3803b965e9b5f3ad2fdd3999c95480e6 (patch)
tree26de1343b0b166c92f3d206e540b4c254e9d5561 /configure
parentdcf6d2c97dbe7b7126cc4dfeb39d424a4397cdc6 (diff)
downloadcpython-7b59b42a3803b965e9b5f3ad2fdd3999c95480e6.zip
cpython-7b59b42a3803b965e9b5f3ad2fdd3999c95480e6.tar.gz
cpython-7b59b42a3803b965e9b5f3ad2fdd3999c95480e6.tar.bz2
Added a define EXTRAMACHDEPPATH which can be used to add sys.path items
for specific platforms. Use this to add plat-mac and plat-mac/lib-scriptpackages on MacOSX. Also tested for not having adverse effects on Linux, and I think this code isn't used on Windows anyway. Fixes #661521.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files changed, 11 insertions, 3 deletions
diff --git a/configure b/configure
index 09337d8..9e9224a 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 1.392 .
+# From configure.in Revision: 1.393 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.53 for python 2.3.
#
@@ -1390,13 +1390,20 @@ echo "${ECHO_T}$MACHDEP" >&6
# And add extra plat-mac for darwin
+
echo "$as_me:$LINENO: checking EXTRAPLATDIR" >&5
echo $ECHO_N "checking EXTRAPLATDIR... $ECHO_C" >&6
if test -z "$EXTRAPLATDIR"
then
case $MACHDEP in
- darwin) EXTRAPLATDIR="\$(PLATMACDIRS)";;
- *) EXTRAPLATDIR="";;
+ darwin)
+ EXTRAPLATDIR="\$(PLATMACDIRS)"
+ EXTRAMACHDEPPATH="\$(PLATMACPATH)"
+ ;;
+ *)
+ EXTRAPLATDIR=""
+ EXTRAMACHDEPPATH=""
+ ;;
esac
fi
echo "$as_me:$LINENO: result: $EXTRAPLATDIR" >&5
@@ -17468,6 +17475,7 @@ s,@PYTHONFRAMEWORKINSTALLDIR@,$PYTHONFRAMEWORKINSTALLDIR,;t t
s,@MACHDEP@,$MACHDEP,;t t
s,@SGI_ABI@,$SGI_ABI,;t t
s,@EXTRAPLATDIR@,$EXTRAPLATDIR,;t t
+s,@EXTRAMACHDEPPATH@,$EXTRAMACHDEPPATH,;t t
s,@CXX@,$CXX,;t t
s,@MAINOBJ@,$MAINOBJ,;t t
s,@EXEEXT@,$EXEEXT,;t t