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>
],
)
-AM_PATH_PYTHON()
+AM_PATH_PYTHON([2.6])
AS_IF([$($PYTHON -c "import argparse")], [:],
AC_MSG_ERROR([python argparse module is missing]))