[svn] commit: r1399 - in /trunk: README configure.ac
BIND 10 source code commits
bind10-changes at lists.isc.org
Sun Mar 14 20:45:07 UTC 2010
Author: jinmei
Date: Sun Mar 14 20:45:07 2010
New Revision: 1399
Log:
allowed manually specififying a path to python (when only older versions of
automake is available)
Modified:
trunk/README
trunk/configure.ac
Modified: trunk/README
==============================================================================
--- trunk/README (original)
+++ trunk/README Sun Mar 14 20:45:07 2010
@@ -11,6 +11,10 @@
Requires autoconf 2.59 or newer.
Use automake-1.11 or better for working Python 3.1 tests.
+Alternatively, you could manually specify an absolute path to python
+executable by the --with-pythonpath option of the configure script,
+e.g.,
+% ./configure --with-pythonpath=/usr/local/bin/python3.1
Operating-System specific tips:
Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac (original)
+++ trunk/configure.ac Sun Mar 14 20:45:07 2010
@@ -17,7 +17,16 @@
AX_COMPILER_VENDOR
m4_define([_AM_PYTHON_INTERPRETER_LIST], [python python3 python3.1])
-AM_PATH_PYTHON([3.1])
+AC_ARG_WITH([pythonpath],
+AC_HELP_STRING([--with-pythonpath=PATH],
+ [specify an absolute path to python executable when automatic version check (incorreclty) fails]),
+ [python_path="$withval"], [python_path="auto"])
+if test "$python_path" = auto; then
+ AM_PATH_PYTHON([3.1])
+else
+ PYTHON=$python_path
+ AC_SUBST(PYTHON)
+fi
# TODO: check for _sqlite3.py module
More information about the bind10-changes
mailing list