diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-12-30 22:23:40 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-12-30 22:23:40 (GMT) |
commit | 83f898c86c5ce68eaddd8f729a67ae2d7d0666ec (patch) | |
tree | 26e50187e882dc0a162131ec1b0e44408f9f3e84 /configure | |
parent | 5efc50d8afd31dc4cb0ef1b58899943eb0e4cb67 (diff) | |
download | cpython-83f898c86c5ce68eaddd8f729a67ae2d7d0666ec.zip cpython-83f898c86c5ce68eaddd8f729a67ae2d7d0666ec.tar.gz cpython-83f898c86c5ce68eaddd8f729a67ae2d7d0666ec.tar.bz2 |
Adapted for the move of Mac/Lib to Lib/plat-mac. Makefile.pre.in now
knows about plat-mac subdirectories, and configure adds a variable
EXTRAPLATDIR. These together take care of copying Lib/plat-mac to
the destination on darwin.
Adding plat-mac is still done with a .pth file which is only created when
you do a framework build. I'm not 100% happy with this, but fixing it
really needs a functional pythonw in non-framework builds, and I don't
think I can do that before 2.3a1 (but I'll try:-).
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1388,6 +1388,20 @@ fi echo "$as_me:$LINENO: result: $MACHDEP" >&5 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="";; + esac +fi +echo "$as_me:$LINENO: result: $EXTRAPLATDIR" >&5 +echo "${ECHO_T}$EXTRAPLATDIR" >&6 + # checks for alternative programs echo "$as_me:$LINENO: checking for --without-gcc" >&5 echo $ECHO_N "checking for --without-gcc... $ECHO_C" >&6 @@ -17296,6 +17310,7 @@ s,@PYTHONFRAMEWORKPREFIX@,$PYTHONFRAMEWORKPREFIX,;t t s,@PYTHONFRAMEWORKINSTALLDIR@,$PYTHONFRAMEWORKINSTALLDIR,;t t s,@MACHDEP@,$MACHDEP,;t t s,@SGI_ABI@,$SGI_ABI,;t t +s,@EXTRAPLATDIR@,$EXTRAPLATDIR,;t t s,@CXX@,$CXX,;t t s,@MAINOBJ@,$MAINOBJ,;t t s,@EXEEXT@,$EXEEXT,;t t |