bug-automake
[Top][All Lists]
Advanced

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

(forw) Bug#157778: automake1.6: minor problem with python support


From: Eric Dorland
Subject: (forw) Bug#157778: automake1.6: minor problem with python support
Date: Thu, 22 Aug 2002 17:10:58 -0400
User-agent: Mutt/1.4i

This problem was reported by a debian developer. Please preserve the
CC header when replying.

-- 
Eric Dorland <address@hidden>
ICQ: #61138586, Jabber: address@hidden
1024D/16D970C6 097C 4861 9934 27A0 8E1C  2B0A 61E9 8ECF 16D9 70C6

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS d- s++: a-- C+++ UL+++ P++ L++ E++ W++ N+ o K- w+ 
O? M++ V-- PS+ PE Y+ PGP++ t++ 5++ X+ R tv++ b+++ DI+ D+ 
G e h! r- y+ 
------END GEEK CODE BLOCK------
--- Begin Message --- Subject: Bug#157778: automake1.6: minor problem with python support Date: Wed, 21 Aug 2002 21:08:04 +0200
Package: automake1.6
Version: 1.6.3-1
Severity: minor
File: /usr/share/aclocal-1.6/python.m4

Hello,

there is a minor problem with the python support
of automake.  Under some conditions the output of
AM_PATH_PYTHON uses some undefined variables:

I have a AM_PATH_PYTHON on a single line in my configure.ac
file, i.e. I do not check for a specific version of Python.
The output of the generated configure script is

    checking for python... /usr/bin/python
    checking for  version... 2.1
    checking for  platform... linux2
                ^^^
            something is missing here!

The problem is in the file /usr/share/aclocal-1.6/python.m4:
The definition of AM_PATH_PYTHON contains:

  m4_if([$1],[],[
    dnl No version check is needed.
    # Find any Python interpreter.
    AC_PATH_PROG([PYTHON], _AM_PYTHON_INTERPRETER_LIST)],[
... code which defines am_cv_pathless_PYTHON ...
  ])
...
  AC_CACHE_CHECK([for $am_cv_pathless_PYTHON version], ...
                      ^^^^^^^^^^^^^^^^^^^^^^
               here is the problem: this is undefined, if $1 is
               the empty string.

As far as I can see, this only affects the message and not the
test itself.  But nevertheless it would be nice if this could
be fixed.

I hope this helps,
Jochen

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux tatonka.pfalz.de 2.4.18 #1 Fri Jul 19 18:51:26 CEST 2002 i586
Locale: address@hidden, address@hidden

Versions of packages automake1.6 depends on:
ii  autoconf                      2.53-5     automatic configure script builder
ii  autotools-dev                 20020621.1 Update infrastructure for config.{

-- no debconf information



--- End Message ---

Attachment: pgpkJKGYpkZnS.pgp
Description: PGP signature


reply via email to

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