Pull patch from automake-current: ignore comments in included files as

well. Problem reported by naddy@
This commit is contained in:
espie 2001-04-21 14:13:23 +00:00
parent 8b2374a083
commit 28f9e3fca7

View File

@ -0,0 +1,14 @@
$OpenBSD: patch-aclocal_in,v 1.1 2001/04/21 14:13:23 espie Exp $
--- aclocal.in.orig Sat Apr 21 15:31:53 2001
+++ aclocal.in Sat Apr 21 16:10:27 2001
@@ -346,6 +346,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-Z_]+)/)
{