[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AU_ALIAS vs. AU_DEFUN
From: |
Ralf Wildenhues |
Subject: |
Re: AU_ALIAS vs. AU_DEFUN |
Date: |
Wed, 29 Dec 2004 10:08:20 +0100 |
User-agent: |
Mutt/1.4.1i |
Hi Akim,
* Akim Demaille wrote on Wed, Dec 22, 2004 at 10:33:49PM CET:
> I found this in libtool.m4:
>
> AU_DEFUN([AC_PROG_LIBTOOL], [LT_INIT])
> AU_DEFUN([AM_PROG_LIBTOOL], [LT_INIT])
>
> It isn't right. AU_DEFUN is the same as AC_DEFUN. So obviously
> any argument is lost (but maybe they didn't have arguments?).
>
> You probably mean AU_ALIAS, which is basically the same as
>
> AU_DEFUN([AC_PROG_LIBTOOL], [LT_INIT($@)])
Thanks for your report. Two questions:
Does it harm to mention $@ if the macro does not take any arguments?
(I think not, but neither Autoconf nor m4 info seem to be very elaborate
on this).
AU_ALIAS seems not to be part of official Autoconf interface. So I'd
take the second form then, right?
Thanks,
Ralf