bug-gnulib
[Top][All Lists]
Advanced

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

Re: expand-before-require bug


From: Paolo Bonzini
Subject: Re: expand-before-require bug
Date: Fri, 23 Jan 2009 09:46:02 +0100
User-agent: Thunderbird 2.0.0.19 (Macintosh/20081209)

> configure.ac:50: warning: AC_REQUIRE: `gl_MULTIARCH' was expanded before it 
> was 
> required
> m4/printf.m4:811: gl_PRINTF_ENOMEM is expanded from...
> m4/vasprintf-posix.m4:7: gl_FUNC_VASPRINTF_POSIX is expanded from...
> m4/gnulib-comp.m4:45: gl_INIT is expanded from...
> configure.ac:50: the top level
> 
> Hmm, that looks familiar.  My fix in commit 3d13a23 managed to avoid out-of-
> order expansion, but triggers another one of those autoconf false positives 
> by 
> expanding a macro whose body consists of a single AC_REQUIRE redirect.  The 
> cleaner fix, which silences the warning, is to always use AC_REQUIRE in the 
> first place.  I'm pushing this.

I don't like this too.  Does it work to simply change gl_INIT to
m4_define?!?

Paolo




reply via email to

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