$OpenBSD: patch-aclocal_in,v 1.7 2002/08/17 19:41:03 brad Exp $ --- aclocal.in.orig Thu Jul 25 12:51:42 2002 +++ aclocal.in Wed Aug 7 11:10:20 2002 @@ -374,6 +374,10 @@ sub add_file push (@rlist, $1); } + # Remove comments from current line. + s/\bdnl\b.*$//; + s/\#.*$//; + # This function constructed dynamically. if (! &search && /(^|\s+)(AM_[A-Z0-9_]+)/) {