curl/m4
Viktor Szakats 50e2cb5894
build: buildinfo.txt improvements
- cmake: drop `configure.os`.
  This also includes OS version, but thus far it's not important enough
  to include it.
- autotools: drop redundant, autotools-only `{target|host}.vendor`.
  (it's part of the triplet in `{target|host}`.)
- swap order to `*.cpu` -> `*.os` to match triplet-order.
- cmake: drop redundant `target`.
  It's manually filled and only in a (so far) few CI jobs. Let's revisit
  when this becomes useful.
- move `buildinfo.txt` to build root.
- dist: add `buildinfo.txt` to `DISTCLEANFILES`.
- autotools: detect human readable compiler version.
- autotools: replace `XXYY` `compiler.version` with "X.Y"-style.
  (also to match cmake.)
- autotools: use distinct `compiler_id` for Apple clang: `APPLECLANG`.
  To match cmake and also because the the "X.Y"-style version number
  is the Apple version, while `XXYY` was a value roughly translated to
  mainline llvm/clang version.
- show buildinfo at the end of the configure stage, when run in CI, or
  when `CURL_BUILDINFO` or `CURL_CI` env is set.

Follow-up to 1fdea16846 #14802
Assisted-by: Dan Fandrich
Ref: https://github.com/curl/curl/pull/14802#issuecomment-2334942991
Closes #14822
2024-09-19 15:56:30 +02:00
..
.gitignore copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl-amissl.m4 configure: delete unused HAVE_OPENSSL3 macro 2024-08-26 11:01:11 +02:00
curl-bearssl.m4 configure: fix indentation more 2024-08-26 11:14:01 +02:00
curl-compilers.m4 build: buildinfo.txt improvements 2024-09-19 15:56:30 +02:00
curl-confopts.m4 configure: use AC_MSG_WARN for TLS/experimental warning texts 2024-06-13 17:17:15 +02:00
curl-functions.m4 build: add poll() detection for cross-builds 2024-08-30 17:14:33 +02:00
curl-gnutls.m4 configure: fix indentation more 2024-08-26 11:14:01 +02:00
curl-mbedtls.m4 configure: fix indentation more 2024-08-26 11:14:01 +02:00
curl-openssl.m4 lib: remove use of RANDOM_FILE 2024-09-02 18:42:32 +02:00
curl-override.m4 copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl-reentrant.m4 build: use #error instead of invalid syntax 2024-07-14 14:03:00 +02:00
curl-rustls.m4 configure: fix indentation more 2024-08-26 11:14:01 +02:00
curl-schannel.m4 copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
curl-sectransp.m4 cmake, configure: also link with CoreServices 2023-09-20 08:38:19 +02:00
curl-sysconfig.m4 configure: fix indentation more 2024-08-26 11:14:01 +02:00
curl-wolfssl.m4 configure: fix indentation more 2024-08-26 11:14:01 +02:00
xc-am-iface.m4 misc: cleanup after removing years from copyright 2024-07-30 14:11:48 +02:00
xc-cc-check.m4 misc: cleanup after removing years from copyright 2024-07-30 14:11:48 +02:00
xc-lt-iface.m4 misc: cleanup after removing years from copyright 2024-07-30 14:11:48 +02:00
xc-val-flgs.m4 configure: fix indentation more 2024-08-26 11:14:01 +02:00
zz40-xc-ovr.m4 misc: cleanup after removing years from copyright 2024-07-30 14:11:48 +02:00
zz50-xc-ovr.m4 misc: cleanup after removing years from copyright 2024-07-30 14:11:48 +02:00
zz60-xc-ovr.m4 misc: cleanup after removing years from copyright 2024-07-30 14:11:48 +02:00