bug-autoconf
[Top][All Lists]
Advanced

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

Re: Fix LT_WITH_LTDL: AU_ALIAS bug


From: Stepan Kasal
Subject: Re: Fix LT_WITH_LTDL: AU_ALIAS bug
Date: Thu, 20 Oct 2005 10:19:24 +0200
User-agent: Mutt/1.4.1i

Hello,

On Fri, Sep 09, 2005 at 02:09:01PM +0200, Ralf Wildenhues wrote:
> Second: Autoconf bug: AU_ALIAS mumbles with the number of arguments:

A modified version of Ralf's example:

cat >configure.ac <<\EOF
AC_INIT
AC_DEFUN([FOO],
         [echo foo: $#])
AU_ALIAS([BAZ],[FOO])
FOO
FOO()
FOO(1)
echo ==
BAZ
BAZ()
BAZ(1)
AC_OUTPUT
EOF
autoconf
./configure

leads to:

foo: 0
foo: 1
foo: 1
==
foo: 1
foo: 1
foo: 2

Attached please find a patch which fixes that.

A test has to be written, to make sure that "AC_STDC_HEADERS" is
indeed autoupdated to "AC_HEADER_STDC", and not to "AC_HEADER_STDC([])".

Ralf, would you volunteer to write the test?

Have a nice day,
        Stepan

Attachment: autoconf-20051020-au-alias.patch
Description: Text document


reply via email to

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