]> sourceware.org Git - automake.git/commitdiff
* aclocal.in (add_file): Strip comments while scanning for
authorPavel Roskin <proski@gnu.org>
Fri, 6 Oct 2000 22:49:14 +0000 (22:49 +0000)
committerPavel Roskin <proski@gnu.org>
Fri, 6 Oct 2000 22:49:14 +0000 (22:49 +0000)
macro dependencies.

ChangeLog
aclocal.in

index 24d5cbe54b73ffffdff629a20584d8a7f043a2c4..ddcb7faf76a71e3a6a7fd3ebefa4628c2f1d300a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2000-10-06  Alexandre Duret-Lutz  <duret_g@epita.fr>
+
+       * aclocal.in (add_file): Strip comments while scanning for
+       macro dependencies.
+
 2000-09-15  Alexandre Duret-Lutz  <duret_g@epita.fr>
 
        * automake.in (initialize_global_constants): End the
index 2d5cce1c5d92eb1e9286e111392982b3eea8011f..5fc838a58f76ba251507ea2cd94b3bcdd6cbe8d8 100644 (file)
@@ -362,7 +362,11 @@ sub add_file
            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.
This page took 0.029928 seconds and 5 git commands to generate.