In AM_PATH_PYTHON (both in automake 1.7.9 and 1.8.3) the am_display_PYTHON variable is not set when user the user set $PYTHON version. Checks for version, prefix and platform doesn't display as nicely as they should because of this.
Something like this should do (patch against python.m4 from automake 1.8.3 (Debians 1.8.3-1 to be specific):
--- python.m4.orig 2004-03-23 10:06:25.000000000 +0100 +++ python.m4 2004-03-23 10:06:56.000000000 +0100 @@ -71,6 +71,7 @@ AM_PYTHON_CHECK_VERSION([$PYTHON], [$1], [AC_MSG_RESULT(yes)], [AC_MSG_ERROR(too old)]) + am_display_PYTHON=$PYTHON else # Otherwise, try each interpreter until we find one that satisfies # VERSION.
-- Esben Haabendal Sørensen Laboratorieingeniør CTIF - Center for Teleinfrastruktur Afdelingen for Kommunikationsteknologi, Aalborg Universitet
Tlf.: +45 9635 8647 E-mail: [EMAIL PROTECTED]