在 2026-1-20 20:07, Markus Muetzel 写道:
The file crt/sdks/_mingw_ddk.h.in file should not be installed. But it should be part of the dist tarball (created with `make dist`).Source files for `AC_CONFIG_FILES` are distributed implicitly; see https://www.gnu.org/software/automake/manual/automake.html#index-make-dist ...
The file crt/sdks/_mingw_ddk.h is generated by the configure script. So, it should not (and cannot) be part of a dist tarball. But it should be installed. So, the following is probably correct:nodist_sdkshead_HEADERS =crt/sdks/_mingw_ddk.h noinst_HEADERS = crt/sdks/_mingw_ddk.h.in
... and even if it wasn't, this is still weird; it belongs in `EXTRA_DIST`.
It would probably still make sense to add `crt/_mingw.h.in` and `crt/sdks/_mingw_ddk.h.in` to `CONFIG_STATUS_DEPENDENCIES` because the corresponding generated headers should be regenerated by the `configure` script in case these files are changed.But that could also be done in a follow-up script.
No, autoconf knows that. If you modify _mingw_ddk.h.in and run `make` in mingw-w64-headers, config.status is invoked automatically.
-- Best regards, LIU Hao
OpenPGP_signature.asc
Description: OpenPGP digital signature
_______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
