From 2872557a697d4d69c865aead82437888e62f4a3c Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 3 Dec 2002 22:04:54 +0000 Subject: Defaulting python breaks the clean target it python isn't installed. (This used to be commit 5739ee4e63a35d7778506047ae3ad2ddceb69ec5) --- source3/configure.in | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'source3') 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) -- cgit