https://savannah.gnu.org/support/index.php?111396
--- a/bin/autoheader.in
+++ b/bin/autoheader.in
@@ -232,7 +232,7 @@ if (open (my $fh, "<", $config_h_in))
     # If the file is empty, $firstline will be undef.  We _do_ want to
     # go ahead and update it in that case.
     if (defined $firstline
-        && $firstline !~ /^\/\* .*\.  Generated from .* by autoheader\.  \*\//
+        && $firstline !~ /^\/\* .*\.  Generated( automatically)? from .* by autoheader\.  \*\//
         && !$replace_handwritten)
       {
         msg 'override', "${config_h_in} was not generated by autoheader";
