If --with-python is specified, look for the Python interpreter not just in
* configure.in (PYTHON_SITE_PACKAGES): If --with-python is
specified, look for the Python interpreter not just in the
specified root but also in the specified location. Fixes #98825
Daniel
diff --git a/configure.in b/configure.in
index c1ef05d..ca64701 100644
--- a/configure.in
+++ b/configure.in
@@ -208,10 +208,10 @@
else
if test -x "$with_python"
then
- echo Found python in $with_python/bin/python
- PYTHON="$with_python/bin/python"
+ echo Found python in $with_python
+ PYTHON="$with_python"
else
- AC_PATH_PROG(PYTHON, python python2.2 python2.1 python2.0 python1.6 python1.5)
+ AC_PATH_PROG(PYTHON, python python2.3 python2.2 python2.1 python2.0 python1.6 python1.5)
fi
fi
if test "$PYTHON" != ""