From: Gaetan Nadon Date: Tue, 19 Nov 2013 16:59:10 +0000 (-0500) Subject: python: request version 2.6 or higher X-Git-Tag: libevdev-0.5~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a6400cd8dae968f7024ac8343bdad04c68677e86;p=platform%2Fupstream%2Flibevdev.git 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 --- 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]))