From: Paul Eggert Date: Sun, 2 Aug 2020 00:53:03 +0000 (-0700) Subject: Fix regression: autotools and whitespace in file names X-Git-Tag: v2.69c~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4178160225ba4337687c24870f0e1af93bb5822f;p=thirdparty%2Fautoconf.git Fix regression: autotools and whitespace in file names * bin/autoheader.in (templates_for_header): Fix previous change by not warning about file names with shell metacharacters, as this is OK for command-line file names. --- diff --git a/bin/autoheader.in b/bin/autoheader.in index bd824ea3..b8ed9d3f 100644 --- a/bin/autoheader.in +++ b/bin/autoheader.in @@ -273,11 +273,7 @@ $out->close; { foreach my $template ("$tmp/config.hin", @config_templates) { - if ($template =~ /["#\$&'()*;<>?[\\\^`|]/) - { - msg 'syntax', "warning: header template has shell metacharacters: $template"; - } - elsif (! -r $template) + if (! -r $template) { msg 'syntax', "warning: cannot read $template: $!"; }