Pull patch from automake-current: ignore comments in included files as
well. Problem reported by naddy@
This commit is contained in:
parent
8b2374a083
commit
28f9e3fca7
14
devel/automake/patches/patch-aclocal_in
Normal file
14
devel/automake/patches/patch-aclocal_in
Normal 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_]+)/)
|
||||
{
|
Loading…
Reference in New Issue
Block a user