diff options
author | Richard Levitte <levitte@openssl.org> | 2016-04-21 18:03:16 +0200 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-04-22 18:20:47 +0200 |
commit | ddc606c914e72e770dbe8293a65585b7c3017bba (patch) | |
tree | 8470be6932f515c9a56a92a0aba6377425e6156e /Configure | |
parent | e2ab7fb343b28fba997cdf4a26bb616c26783c38 (diff) | |
download | openssl-ddc606c914e72e770dbe8293a65585b7c3017bba.zip openssl-ddc606c914e72e770dbe8293a65585b7c3017bba.tar.gz openssl-ddc606c914e72e770dbe8293a65585b7c3017bba.tar.bz2 |
Warn when doing an out-of-source build and finding in-source build artifacts
The reason to warn is that configuration *may* pick up on
configuration header files that are in the source tree, that might be
for a wildly different configuration than what is expected in the
current out-of-source configuration.
Reviewed-by: Matt Caswell <matt@openssl.org>
Diffstat (limited to 'Configure')
-rwxr-xr-x | Configure | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -1923,6 +1923,14 @@ or position independent code, please let us know (but please first make sure you have tried with a current version of OpenSSL). EOF +print <<"EOF" if (-f catfile($srcdir, "configdata.pm") && $srcdir ne $blddir); + +WARNING: there are indications that another build was made in the source +directory. This build may have picked up artifacts from that build, the +safest course of action is to clean the source directory and redo this +configuration. +EOF + exit(0); ###################################################################### |