This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
am_display_PYTHON unset with user specified $PYTHON
- From: Esben Haabendal Soerensen <bart at kom dot aau dot dk>
- To: automake at gnu dot org
- Date: Tue, 23 Mar 2004 10:13:50 +0100
- Subject: am_display_PYTHON unset with user specified $PYTHON
- Organization: Center for Teleinfrastruktur (CTIF), Aalborg Universitet
Hi
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: ehs@kom.aau.dk