summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-12-30 22:23:40 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-12-30 22:23:40 (GMT)
commit83f898c86c5ce68eaddd8f729a67ae2d7d0666ec (patch)
tree26e50187e882dc0a162131ec1b0e44408f9f3e84 /configure
parent5efc50d8afd31dc4cb0ef1b58899943eb0e4cb67 (diff)
downloadcpython-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-xconfigure15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure b/configure
index 5495840..5ef2ea2 100755
--- a/configure
+++ b/configure
@@ -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