[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: speed up 'configure' by removing HAVE_RAW_DECL_*
From: |
Ralf Wildenhues |
Subject: |
Re: speed up 'configure' by removing HAVE_RAW_DECL_* |
Date: |
Fri, 1 Apr 2011 14:05:55 +0200 |
User-agent: |
Mutt/1.5.20 (2010-08-04) |
* Bruno Haible wrote on Fri, Apr 01, 2011 at 12:44:29PM CEST:
> > > 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.
>
> I also expected that 'aclocal' was more robust than that. Maybe it's due to
> the versions of 'aclocal' and 'autoconf' that you use?
No, even the newest one works this way, see $ac_defun_rx in aclocal.in.
It's fairly tricky to change this, IIRC. aclocal does two things: look
for macro definitions and for macro usage. The former would seem quite
fragile when done by autom4te tracing because we might be scanning
conflicting sets of third-party files.
Cheers,
Ralf