[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: More weird things in autoconf
From: |
Akim Demaille |
Subject: |
Re: More weird things in autoconf |
Date: |
19 Feb 2001 12:12:42 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) |
Pavel Roskin <address@hidden> writes:
> Hello!
>
> It arrepars that the problem that I originally attributed to the "-Wall"
> processing has to do with the way how AC_OUTPUT is defined. I expected a
> message about AC_OUTPUT with arguments, and was surprised not to see it.
>
> acgeneral.m4 defines AC_OUTPUT twice - once by AU_DEFUN, then by
> m4_define. The definitions are also diffrerent in the wat they quote the
> arguments. The message that autoupdate is supposed to generate:
>
> `AC_OUTPUT' should be used without arguments.
>
> doesn't appear, most likely because m4_define replaces the definition of
> AC_OUTPUT, and the old definition has no effect, even in the traces.
That's normal, but I'll have a look to see what's wrong, thanks!
> Test case - run autoupdate in the autoconf directory - no messages will
> appear.
>
> In a similar way, there are two definitions of AC_INIT. Autoconf doesn't
> warn about AC_INIT with one argument, but it should.
>
> Something must have changed in the way how multiple macro definitions are
> handled.
Yep, no idea what.