bug-gnulib
[Top][All Lists]
Advanced

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

Re: speed up 'configure' by removing HAVE_RAW_DECL_*


From: Simon Josefsson
Subject: Re: speed up 'configure' by removing HAVE_RAW_DECL_*
Date: Fri, 01 Apr 2011 11:05:46 +0200
User-agent: Gnus/5.110016 (No Gnus v0.16) Emacs/23.2 (gnu/linux)

Bruno Haible <address@hidden> writes:

> If you compare the generated aclocal.m4 file in the buggy situation and in
> the working situation, you will see this difference:
>
> $ diff -u gss/aclocal.m4 gss1/aclocal.m4 
> --- gss/aclocal.m4      2011-03-31 18:10:38.000000000 +0200
> +++ gss1/aclocal.m4     2011-03-31 18:05:06.000000000 +0200
> @@ -991,6 +991,7 @@
>  m4_include([lib/gl/m4/stddef_h.m4])
>  m4_include([lib/gl/m4/string_h.m4])
>  m4_include([lib/gl/m4/strverscmp.m4])
> +m4_include([lib/gl/m4/warn-on-use.m4])
>  m4_include([gl/m4/00gnulib.m4])
>  m4_include([gl/m4/autobuild.m4])
>  m4_include([gl/m4/gnulib-common.m4])
>
> In other words, 'aclocal' had decided to not include warn-on-use.m4
> because it found the gl_WARN_ON_USE_PREPARE macro already defined in
> gnulib-common.m4.
>
> The fix is to hide this definition from 'aclocal'. I'm applying this fix.
> Not pretty, but it works.

Thanks -- I wasn't aware that aclocal only did a heuristic search for
definitions.

/Simon



reply via email to

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