* 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