From 91ba6aa8a84cf13710d7e4783169bc7128142379 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Tue, 17 Sep 2002 01:14:54 +0000 Subject: Default to "python" for --with-python option. This saves having to run --with-python=python which looks a bit silly. (This used to be commit 130e05de073268cbabed0e2f80f0011e5f72dc02) --- source3/configure.in | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/configure.in b/source3/configure.in index 5e742f9498..0e4e910f0c 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -2919,7 +2919,14 @@ AC_SUBST(FLAGS1) AC_ARG_WITH(python, [ --with-python=PYTHONNAME build Python libraries], -[ PYTHON=${withval-python} ]) +[ case "${withval-python}" in + yes) + PYTHON=python + ;; + *) + PYTHON=${withval-python} + ;; + esac ]) AC_SUBST(PYTHON) ################################################# -- cgit