summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-09-11 14:41:54 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-09-11 14:41:54 (GMT)
commit127e56e5e87e59cfb212d7bc3d7e70cd9f74d40d (patch)
treeea86c2432bdc8e65b4205527e850add55504e303 /configure.in
parentdc795b82aaa6943e1760ec34515d5dd82a57c4ca (diff)
downloadcpython-127e56e5e87e59cfb212d7bc3d7e70cd9f74d40d.zip
cpython-127e56e5e87e59cfb212d7bc3d7e70cd9f74d40d.tar.gz
cpython-127e56e5e87e59cfb212d7bc3d7e70cd9f74d40d.tar.bz2
When frameworks are not enabled don't put an empty target in the Makefile.
Older make's can apparently choke on this.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in19
1 files changed, 13 insertions, 6 deletions
diff --git a/configure.in b/configure.in
index d667cab..f3da85a 100644
--- a/configure.in
+++ b/configure.in
@@ -15,21 +15,28 @@ CONFIG_ARGS="$ac_configure_args"
AC_ARG_ENABLE(framework,
[ --enable-framework[=INSTALLDIR] Build (MacOSX|Darwin) framework],[
- PYTHONFRAMEWORK=Python
- PYTHONFRAMEWORKDIR=Python.framework
case $enableval in
yes)
enableval=/Library/Frameworks
- PYTHONFRAMEWORKPREFIX=$enableval
+ esac
+ case $enableval in
+ no)
+ PYTHONFRAMEWORK=
+ PYTHONFRAMEWORKDIR=no-framework
+ PYTHONFRAMEWORKPREFIX=
+ PYTHONFRAMEWORKINSTALLDIR=
+ enable_framework=
;;
*)
+ PYTHONFRAMEWORK=Python
+ PYTHONFRAMEWORKDIR=Python.framework
PYTHONFRAMEWORKPREFIX=$enableval
+ PYTHONFRAMEWORKINSTALLDIR=$PYTHONFRAMEWORKPREFIX/$PYTHONFRAMEWORKDIR
+ prefix=$PYTHONFRAMEWORKINSTALLDIR/Versions/$VERSION
esac
- PYTHONFRAMEWORKINSTALLDIR=$PYTHONFRAMEWORKPREFIX/$PYTHONFRAMEWORKDIR
- prefix=$PYTHONFRAMEWORKINSTALLDIR/Versions/$VERSION
],[
PYTHONFRAMEWORK=
- PYTHONFRAMEWORKDIR=
+ PYTHONFRAMEWORKDIR=no-framework
PYTHONFRAMEWORKPREFIX=
PYTHONFRAMEWORKINSTALLDIR=
enable_framework=