Defaulting python breaks the clean target it python isn't installed.
authorTim Potter <tpot@samba.org>
Tue, 3 Dec 2002 22:04:54 +0000 (22:04 +0000)
committerTim Potter <tpot@samba.org>
Tue, 3 Dec 2002 22:04:54 +0000 (22:04 +0000)
(This used to be commit 5739ee4e63a35d7778506047ae3ad2ddceb69ec5)

source3/configure.in

index 53b95990b2e01a1bfc2634069fe2895e95d996f9..866380d3f7c984b2fd48bf062ac8119bd67eed21 100644 (file)
@@ -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)