[PATCH] AM_PATH_PYTHON: try "python2" et al. first

2012-12-13 Thread Kerrick Staley
When checking for a suitable Python version, try "python2", "python 2.7", "python2.6", etc. before trying "python". Usually, when AM_PATH_PYTHON is invoked with an argument of the form 2.X, it means that only a Python 2 interpreter should be used, and not a Python 3 interpreter. However, the "pyth

Re: automake and pyconfigure: a future integration? (was: Re: [PATCH] AM_PATH_PYTHON: try "python2" et al. first)

2012-12-13 Thread Kerrick Staley
Quite a lengthy response for such a simple inquiry! Really, I'd just like to get gobject-introspection to compile on Arch Linux. The problem is that gobject-introspection's configure.ac has the line AM_PATH_PYTHON([2.5]) but gobject-introspection can't actually work with Python 3 or higher (the