]> git.ipfire.org Git - thirdparty/openssl.git/commit - Configure
Save away the environment variables we rely on
authorRichard Levitte <levitte@openssl.org>
Wed, 29 Nov 2017 12:09:01 +0000 (13:09 +0100)
committerRichard Levitte <levitte@openssl.org>
Thu, 7 Dec 2017 23:36:21 +0000 (00:36 +0100)
commit7ecdf18d80cba14ad1afa6c0d18574d2ad2929c3
treeec3fa0488234e02321307888ecff4359238e7bc2
parente84282cbdafe0b4e49742106974ff8ee28087875
Save away the environment variables we rely on

There are cases when we overwrite %ENV values, and while this is
perfectly fine on some platforms, it isn't on others, because the
Configure script isn't necessarely run in a separate process, and
thus, changing %ENV may very well change the environment of the
calling shell.  VMS is such a platform.

Furthermore, saving away values that we use also allow us to save them
in configdata.pm in an effective way, and recall those values just as
effectively when reconfiguring.  Also, this makes sure that we do use
the saved away values when reconfiguring, when the actual environment
variables might otherwise affect us.

Reviewed-by: Andy Polyakov <appro@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4818)
Configure