[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
AC_PATH_PROG bug?
From: |
Travis Shirk |
Subject: |
AC_PATH_PROG bug? |
Date: |
Mon, 29 Jul 2002 16:38:48 -0600 (MDT) |
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
- AC_PATH_PROG bug?,
Travis Shirk <=