blob: f62987456cfe8716b1c45039b3f98829aac1bb32 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
http://bugs.gentoo.org/126388
2006-03-16 Mike Frysinger <vapier@gentoo.org>
* aclocal.in (scan_configure_dep): Ignore ## lines.
(scan_file): Remove dnl and # comments.
--- aclocal.in
+++ aclocal.in
@@ -227,6 +227,8 @@
foreach (split ("\n", $contents))
{
++$line;
+ # Ignore `##' lines.
+ next if /^##/;
# Remove comments from current line.
s/\bdnl\b.*$//;
s/\#.*$//;
@@ -311,6 +313,10 @@
$contents .= $_;
+ # Remove comments from current line.
+ s/\bdnl\b.*$//;
+ s/\#.*$//;
+
while (/$ac_defun_rx/go)
{
if (! defined $1)
|