automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

am_display_PYTHON unset with user specified $PYTHON


From: Esben Haabendal Soerensen
Subject: am_display_PYTHON unset with user specified $PYTHON
Date: Tue, 23 Mar 2004 10:13:50 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040312 Debian/1.6-3

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:  address@hidden





reply via email to

[Prev in Thread] Current Thread [Next in Thread]