Index: ChangeLog from Alexandre Duret-Lutz * aclocal.in (add_file): Strip comments while scanning for macro dependencies. Index: aclocal.in =================================================================== RCS file: /cvs/automake/automake/aclocal.in,v retrieving revision 1.45 diff -u -r1.45 aclocal.in --- aclocal.in 2000/03/20 00:12:59 1.45 +++ aclocal.in 2000/10/03 07:08:24 @@ -362,7 +362,11 @@ push (@rlist, $1); } - # This function constructed dynamically. + # Remove comments from current line. + s/\bdnl\b.*$//; + s/\#.*$//; + + # The search function is constructed dynamically by scan_m4_files. if (! &search && /(^|\s+)(AM_[A-Z_]+)/) { # Macro not found, but AM_ prefix found.