summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/configure.in9
1 files changed, 8 insertions, 1 deletions
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)
#################################################