Index: aclocal.in =================================================================== RCS file: /cvsroot/automake/automake/aclocal.in,v retrieving revision 1.55 diff -u -r1.55 aclocal.in --- aclocal.in 2001/03/07 18:37:06 1.55 +++ aclocal.in 2001/05/15 05:08:59 @@ -115,6 +115,7 @@ local (@dirlist) = &parse_arguments (@ARGV); +&parse_acpath ($ENV{'ACPATH'}, address@hidden); &scan_m4_files (@dirlist); &scan_configure; if (! $exit_status) @@ -147,6 +148,17 @@ Report bugs to .\n"; exit $status; +} + +# Parse added include paths +sub parse_acpath +{ + local (@pathlist) = split ':', shift; + local ($dirlist) = shift; + + foreach (@pathlist) { + push (@$dirlist, $_); + } } # Parse command line.