Configuration: only produce a new configdata.pm if it has changed contents
authorRichard Levitte <levitte@openssl.org>
Mon, 23 Aug 2021 06:48:02 +0000 (08:48 +0200)
committerRichard Levitte <levitte@openssl.org>
Sun, 22 May 2022 15:44:57 +0000 (17:44 +0200)
commit7d78017bd88758cc4cc1337da282f5439c17719a
treef95edb8c161f351d10b36fffee6c44779ad9f960
parentfa229d4e07267052adaa7a52281a1a1c1ab1f2f0
Configuration: only produce a new configdata.pm if it has changed contents

The goal is to avoid having too much of the OpenSSL source rebuilt
because configdata.pm got a new time stamp.  The conditions for
updating configdata.pm are now:

1.  its time stamp is older than Configure's, or...
2.  its contents has changed.

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 764cf5b26306a8712e8b3d41599c44dc5ed07a25)
Configure
configdata.pm.in