Improve configure output when python is not installed

This commit is contained in:
William S Fulton 2015-08-01 17:43:36 +01:00
commit cc6804724f

View file

@ -629,7 +629,7 @@ else
fi
fi
if test $PYVER -le 2; then
if test $PYVER -eq 1 -o $PYVER -eq 2; then
AC_MSG_CHECKING(for Python prefix)
PYPREFIX=`($PYTHON -c "import sys; sys.stdout.write(sys.prefix)") 2>/dev/null`
AC_MSG_RESULT($PYPREFIX)