From: Eric Blake Date: Sat, 21 Nov 2009 13:36:35 +0000 (-0700) Subject: Avoid spurious newline in traced macros. X-Git-Tag: v2.65~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f6ae9102206d44004eea7332fce0f6c280e94b07;p=thirdparty%2Fautoconf.git Avoid spurious newline in traced macros. * bin/autoreconf.in (tracing): Drop newline before parsing traced arguments; regression from 2009-11-14. Signed-off-by: Eric Blake --- diff --git a/ChangeLog b/ChangeLog index e2d42838..ae4d7c05 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2009-11-21 Eric Blake + + 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 Allow absolute names in AT_TESTED. diff --git a/bin/autoreconf.in b/bin/autoreconf.in index 4aeca015..9f820710 100644 --- a/bin/autoreconf.in +++ b/bin/autoreconf.in @@ -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";