configure: enforce python 2.7 with AM_PATH_PYTHON
authorEmil Velikov <emil.velikov@collabora.com>
Thu, 16 Aug 2018 12:40:21 +0000 (13:40 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 23 Aug 2018 10:55:55 +0000 (11:55 +0100)
commitdf2042d99ac54f8639f123c8586d9cadcfbb5521
tree88dcaa50159fb8a051c1fa257280c99a3b3e6af2
parentc7c0b391ef43254f34723e8741370d8ae7048078
configure: enforce python 2.7 with AM_PATH_PYTHON

Currently we use AC_CHECK_PROGS looking for python2.7, python2 and
finally python. That is due to the varying names used across the
different OS.

Use the handy AM_PATH_PYTHON which finds the correct name and checks for
the version.

Note: python2.7 has been an unofficial requirement for quite some time.
Update the docs to reflect that.

Cc: Dylan Baker <dylan@pnwbakers.com>
Signed-off-by: Emil Velikov <emil.velikov@collabora.com>
configure.ac
docs/install.html