diff options
author | Greg Troxel <gdt@ir.bbn.com> | 2009-12-02 18:16:12 +0000 |
---|---|---|
committer | Greg Troxel <gdt@ir.bbn.com> | 2009-12-02 18:16:12 +0000 |
commit | e6ff4c9eee79ecbd22da442f410cfad139c8a448 (patch) | |
tree | 614de8eacfa8b099c98211dd2e3d5772ed958d95 /configure.ac | |
parent | c515cdeb158792af72235a8e0bbb398cf8a88f5f (diff) | |
download | gpsd-e6ff4c9eee79ecbd22da442f410cfad139c8a448.tar.gz |
AM_PATH_PYTHON provided with automake can be too old.
Look for newer python first, and include 2.6 on the list.
gpsd needs 2.6 for tests; perhaps we should require 2.6 or newer.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index b187118b..c52be51e 100644 --- a/configure.ac +++ b/configure.ac @@ -32,6 +32,11 @@ AC_ARG_ENABLE(python, [try_python="$enableval"], [try_python="yes"]) if test "x$try_python" = "xyes"; then + dnl AM_PATH_PYTHON provided with automake can be too old. Look + dnl for newer python first, and include 2.6 on the list. + dnl gpsd needs 2.6 for tests; perhaps we should require 2.6 or newer. + m4_define([_AM_PYTHON_INTERPRETER_LIST], + [python3.0 python2.6 python2.5 python2.4 python]) AM_PATH_PYTHON ac_python=yes if test "x$PYTHON" = "x"; then |