]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
Fix regression: autotools and whitespace in file names
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 2 Aug 2020 00:53:03 +0000 (17:53 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 2 Aug 2020 00:53:53 +0000 (17:53 -0700)
* 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.

bin/autoheader.in

index bd824ea3f84556743bbca58b28846b2e2a212e61..b8ed9d3f8ce0b71c914c24e5f03d6c5729c23d9a 100644 (file)
@@ -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: $!";
        }