--- 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 ---