Hello, On Mon, Oct 17, 2005 at 01:20:23PM +0200, Clifford Wolf wrote: > With this patch applied it is possible to use entries such as > "/opt/*/share/aclocal" in the /usr/share/aclocal/dirlist file.
attached please find a variant of the patch which applies to Automake CVS HEAD. (It passed "make check", FWIW.) Alexandre, will you accept it? Have a nice day, Stepan Kasal
2005-10-17 Clifford Wolf <[EMAIL PROTECTED]> (tiny change) Stepan Kasal <[EMAIL PROTECTED]> * aclocal.in (parse_arguments): Added wildcard support to the dirlist parser. Index: aclocal.in =================================================================== RCS file: /cvsroot/automake/automake/aclocal.in,v retrieving revision 1.133 diff -u -r1.133 aclocal.in --- aclocal.in 9 Jul 2005 09:30:31 -0000 1.133 +++ aclocal.in 17 Oct 2005 15:04:05 -0000 @@ -938,7 +938,10 @@ # strip off newlines and end-of-line comments s/\s*\#.*$//; chomp; - push (@system_includes, $_) if -d $_; + foreach my $dir (glob) + { + push (@system_includes, $dir) if -d $dir; + } } close (DIRLIST); }