Configuration: produce include/openssl/configuration.h when configuring
authorRichard Levitte <levitte@openssl.org>
Mon, 23 Aug 2021 06:54:37 +0000 (08:54 +0200)
committerRichard Levitte <levitte@openssl.org>
Sun, 22 May 2022 15:44:57 +0000 (17:44 +0200)
commit5cbd580be9012edb39a60dc303f9ea55c7e4d7bd
tree083a4ea70b0f6c3c0572ac6ba9c1397284e3bac2
parent7d78017bd88758cc4cc1337da282f5439c17719a
Configuration: produce include/openssl/configuration.h when configuring

The goal is to avoid having too much of the OpenSSL source rebuilt
because include/openssl/configuration.h, or even because it was a
Makefile target that was called upon (some make implementations
consider the use of a target as an update of that target, even if it
wasn't really updated).

To resolve this, we move the production of include/openssl/configuration.h
to configdata.pm, and only update it if there were any actual changes.

Fixes #16377

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Todd Short <todd.short@me.com>
(Merged from https://github.com/openssl/openssl/pull/16378)

(cherry picked from commit 2522889620446f1e56338367d1b6b028ea952bb4)
Configure
build.info
configdata.pm.in