autoconf-patches
[Top][All Lists]
Advanced

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

Re: [PATCH 0/2] AC_CONFIG_MACRO_DIRS: implementation and documentation


From: Nick Bowler
Subject: Re: [PATCH 0/2] AC_CONFIG_MACRO_DIRS: implementation and documentation
Date: Fri, 2 Nov 2012 09:36:47 -0400
User-agent: Mutt/1.5.21 (2010-09-15)

On 2012-11-02 10:46 +0100, Stefano Lattarini wrote:
> On 10/23/2012 12:59 AM, Nick Bowler wrote:
> > 4) I get a bunch of new warnings from aclocal, of the form:
> > 
> >      configure.ac:42: warning: DX_EXPORTED_SH is m4_require'd but not 
> > m4_defun'd
> > 
> >    The invocation comes from an AC_REQUIRE([DX_EXPORTED_SH]) and the
> >    DX_EXPORTED_SH macro is expected to be picked up by aclocal -- it is,
> >    and things seem to work in the end, but the warnings are annoying
> >    (and are printed multiple times).
>
> And you say they weren't there before these series?  Or is this regression
> already present in master?  I'll investigate.

It wasn't there before changing the package to use AC_CONFIG_MACRO_DIRS
instead of ACLOCAL_AMFLAGS.

In previous versions of Automake these same warnings will show up when
invoking aclocal without any -I options.  In this case, not passing
those arguments would be an error, and the resulting configure sript
would probably not work since aclocal can't find the macros in question.

But now, aclocal is being called with no -I options intentionally, and
it is actually finding the macros (and producing working configure
scripts), but these warnings are still being printed.  Adding the -I
options again makes the warnings go away.

Cheers,
-- 
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)



reply via email to

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