From a6400cd8dae968f7024ac8343bdad04c68677e86 Mon Sep 17 00:00:00 2001 From: Gaetan Nadon Date: Tue, 19 Nov 2013 11:59:10 -0500 Subject: [PATCH] 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 Signed-off-by: Peter Hutterer --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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])) -- 2.7.4