summaryrefslogtreecommitdiff
path: root/m4/python.m4
diff options
context:
space:
mode:
authorStefano Lattarini <stefano.lattarini@gmail.com>2011-01-31 21:24:02 +0100
committerStefano Lattarini <stefano.lattarini@gmail.com>2011-02-15 10:08:47 +0100
commit5bf7af6e1e5fa63bc192ed972ef8c83dd6faec2b (patch)
treeb363bcb162a6798c2a7bac0b5c4b7d8a46d7f304 /m4/python.m4
parent5cc6a5a3835fe98b23e4dae86ba7228f977e50a2 (diff)
downloadautomake-5bf7af6e1e5fa63bc192ed972ef8c83dd6faec2b.tar.gz
python: report the 'PYTHON' influential environment variable
* m4/python.m4 (AM_PATH_PYTHON): Call AC_ARG_VAR on PYTHON. * doc/automake.texi (Python): Update and extend. * tests/help-python.test: New test. * tests/Makefile.am (TESTS): Update. * THANKS (Jack Kelly): Update e-mail address. Suggestion by Jack Kelly.
Diffstat (limited to 'm4/python.m4')
-rw-r--r--m4/python.m42
1 files changed, 2 insertions, 0 deletions
diff --git a/m4/python.m4 b/m4/python.m4
index 50e15384b..655dcf3f0 100644
--- a/m4/python.m4
+++ b/m4/python.m4
@@ -40,6 +40,8 @@ AC_DEFUN([AM_PATH_PYTHON],
[python python2 python3 python3.2 python3.1 python3.0 python2.7 dnl
python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0])
+ AC_ARG_VAR([PYTHON], [the Python interpreter])
+
m4_if([$1],[],[
dnl No version check is needed.
# Find any Python interpreter.