summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2013-11-19 11:59:10 -0500
committerPeter Hutterer <peter.hutterer@who-t.net>2013-11-20 07:50:22 +1000
commita6400cd8dae968f7024ac8343bdad04c68677e86 (patch)
tree8930e4a520a5bf6bf6eca1fcf412784582a5c28f
parentf15afcb79598f30629c29e07e6e36f081c561113 (diff)
downloadlibevdev-a6400cd8dae968f7024ac8343bdad04c68677e86.tar.gz
python: request version 2.6 or higher
This seems like a reasonable minimum version to require. Available in RHEL6 (2010) or Ubuntu (2010). Version 2.7 contains the argparse module so the check could be removed. The argparse module was introduced in v2.3.5 as an optional module. http://www.python.org/doc/versions/ Signed-off-by: Gaetan Nadon <memsize@videotron.ca> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 9e26bb7..b276ea4 100644
--- a/configure.ac
+++ b/configure.ac
@@ -115,7 +115,7 @@ AS_IF([test "x$enable_gcov" != "xno"],
],
)
-AM_PATH_PYTHON()
+AM_PATH_PYTHON([2.6])
AS_IF([$($PYTHON -c "import argparse")], [:],
AC_MSG_ERROR([python argparse module is missing]))