https://gcc.gnu.org/bugzilla/show_bug.cgi?id=128683

--- Comment #2 from pietro <pietro at gcc dot gnu.org> ---
Autoheader from autoconf 2.73 won't regenerate
gcc/m2/gm2-libs/gm2-libs-host.h.in from gcc/m2/gm2-libs/config-host.in unless
given the "-R" or "--replace-handwritten" option because first line of the file
being:

/* gm2-libs-host.h.in  Generated by autoheader.

and autoheader using the following regex to decide if a file was generated by
it:

/^\/\* .*\.  Generated from .* by autoheader\.  \*\/

Another way to force autoheader to overwrite the file is to redirect its output
to the file:

autoheader gcc/m2/gm2-libs/config-host.in > gcc/m2/gm2-libs/gm2-libs-host.h.in

Reply via email to