mirror of
https://gitlab.freedesktop.org/libevdev/libevdev.git
synced 2025-12-20 12:40:07 +01:00
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>
This commit is contained in:
parent
f15afcb795
commit
a6400cd8da
1 changed files with 1 additions and 1 deletions
|
|
@ -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]))
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue