On Tuesday 20 September 2011, Paolo Bonzini wrote: > On 09/20/2011 02:09 PM, Stefano Lattarini wrote: > >> Yeah, I think the problem is that in the normal search path (from > >> `aclocal -I /foo -I /bar'): > >> > >> 1. `/foo' > >> > >> 2. `/bar' > >> > >> 3. ACDIR-APIVERSION > >> > >> 4. ACDIR > >> > >> The directories from dirlist and ACLOCAL_PATH should go after (3), > >> rather than after (4). > > > > But this is what they currently do (see test > > `aclocal-path-precedence.test'). > > Interesting, that's not what is in (automake.info)Macro Search Path. > OK, you're right; stuff from `dirlist' goes after that in ACDIR, but stuff from ACLOCAL_PATH goes before it (as it should IMHO).
We definitely want to clean this all up in 1.12 -- code, documentation and testsuite as well. Thanks, Stefano