diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2003-03-17 15:44:10 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2003-03-17 15:44:10 (GMT) |
commit | 7b59b42a3803b965e9b5f3ad2fdd3999c95480e6 (patch) | |
tree | 26de1343b0b166c92f3d206e540b4c254e9d5561 /configure | |
parent | dcf6d2c97dbe7b7126cc4dfeb39d424a4397cdc6 (diff) | |
download | cpython-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-x | configure | 14 |
1 files changed, 11 insertions, 3 deletions
@@ -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 |