Unix Makefile: Make sure to use $(PERL) when running ./Configure
authorRichard Levitte <levitte@openssl.org>
Tue, 8 Nov 2016 23:14:56 +0000 (00:14 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 9 Nov 2016 01:37:29 +0000 (02:37 +0100)
commit12ccb021be9e1c4c947e020ea2079e985b329a8a
treea7ee9238443908001267210e3567c7dfe01e9d2b
parent318447bceb3aa2c50ac0081bdb4e917f8704e7da
Unix Makefile: Make sure to use $(PERL) when running ./Configure

For consistency, it's better to use the perl that was specified to
Configure last time it was called.

Use case:

perl v5.8.8 was first along $PATH, perl v5.22.2 was available and
specified as: PERL=/opt/local/bin/perl ./config.  When make wanted to
reconfigure and called './Configure reconf', configuration broke down,
complaining about a perl that's too old.

Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1884)
Configurations/unix-Makefile.tmpl