]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Avoid spurious newline in traced macros.
authorEric Blake <ebb9@byu.net>
Sat, 21 Nov 2009 13:36:35 +0000 (06:36 -0700)
committerEric Blake <ebb9@byu.net>
Sat, 21 Nov 2009 13:46:24 +0000 (06:46 -0700)
* bin/autoreconf.in (tracing): Drop newline before parsing traced
arguments; regression from 2009-11-14.

Signed-off-by: Eric Blake <ebb9@byu.net>
ChangeLog
bin/autoreconf.in

index e2d42838fd64aa80f069ce5711463bb6aeae8fba..ae4d7c05477bb3cdf9d90fbabbd7f86754cb0e6d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-11-21  Eric Blake  <ebb9@byu.net>
+
+       Avoid spurious newline in traced macros.
+       * bin/autoreconf.in (tracing): Drop newline before parsing traced
+       arguments; regression from 2009-11-14.
+
 2009-11-20  Eric Blake  <ebb9@byu.net>
 
        Allow absolute names in AT_TESTED.
index 4aeca01593e1ba4a16f4e0f450cbd5983f804c73..9f8207100c07171ba70239de27e5ba3dbd8c7974 100644 (file)
@@ -471,6 +471,7 @@ sub autoreconf_current_directory ()
      . ' |');
   while ($_ = $traces->getline)
     {
+      chomp;
       my ($macro, @args) = split (/::/);
       $aux_dir = $args[0]           if $macro eq "AC_CONFIG_AUX_DIR";
       $uses_autoconf = 1            if $macro eq "AC_INIT";