diff options
author | Tim Potter <tpot@samba.org> | 2002-12-03 22:04:54 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-12-03 22:04:54 +0000 |
commit | 2872557a697d4d69c865aead82437888e62f4a3c (patch) | |
tree | 50cefc9363ccc37dfb0ca182a3d02b47dd06c4ee /source3 | |
parent | 73bf5369b8b9043f0e0d215f2aca42ae0bfe43a9 (diff) | |
download | samba-2872557a697d4d69c865aead82437888e62f4a3c.tar.gz samba-2872557a697d4d69c865aead82437888e62f4a3c.tar.bz2 samba-2872557a697d4d69c865aead82437888e62f4a3c.zip |
Defaulting python breaks the clean target it python isn't installed.
(This used to be commit 5739ee4e63a35d7778506047ae3ad2ddceb69ec5)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/configure.in | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/source3/configure.in b/source3/configure.in index 53b95990b2..866380d3f7 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -3135,18 +3135,15 @@ AC_SUBST(FLAGS1) # though they can coexist in different directories.) In the future # this might make the Python stuff be built by default. -# If you don't specify --with-python, we assume "python" anyhow, -# because the extensions are not built until you specifically "make -# python_ext". --without-python turns them off. Perhaps in the -# future --with-python should make them automatically built by make -# all. +# Defaulting python breaks the clean target if python isn't installed -PYTHON=python +PYTHON= AC_ARG_WITH(python, [ --with-python=PYTHONNAME build Python libraries], [ case "${withval-python}" in yes) + PYTHON=python EXTRA_ALL_TARGETS="$EXTRA_ALL_TARGETS python_ext" ;; no) |