Hello,
I'm writing a function to find python2, and I did not get far before
noticing this:
creating cache ./config.cache
checking for python2... /usr/bin/python2
checking for python... (cached) /usr/bin/python2
updating cache ./config.cache
Here's the function:
AC_DEFUN([ACX_CHECK_PYTHON2], [
PYTHON=""
for p in python2 python; do
AC_PATH_PROG([PYTHON], [${p}])
done
])
So, why is the first discovery of python2 getting the cache result for the
check for python. Btw, the script intends to verify version 2 of 'python'
if 'python2' is not found, but this is holding me up.
Travis