From 01e7afadd6b49b3174623c637ec21d5abf7bc782 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Mon, 9 Sep 2002 06:05:39 +0000 Subject: Add --with-python=PYTHONNAME configure option, so that the libraries get linked for the appropriate version. (This used to be commit 2ea647bbfaba5a4ee7cb232ae1a21acbd2a9b5c6) --- source3/configure.in | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'source3/configure.in') diff --git a/source3/configure.in b/source3/configure.in index baeebd6654..3a75b32aaf 100644 --- a/source3/configure.in +++ b/source3/configure.in @@ -2806,6 +2806,19 @@ fi AC_SUBST(BUILD_POPT) AC_SUBST(FLAGS1) +################################################# +# Check if the user wants Python + +# At the moment, you can use this to set which Python binary to link +# against. (Libraries built for Python2.2 can't be used by 2.1, +# though they can coexist in different directories.) In the future +# this might make the Python stuff be built by default. + +AC_ARG_WITH(python, +[ --with-python=PYTHONNAME build Python libraries], +[ PYTHON=${withval-python} ]) +AC_SUBST(PYTHON) + ################################################# # do extra things if we are running insure -- cgit