Configure: catch the build tree configdata.pm
authorRichard Levitte <levitte@openssl.org>
Thu, 8 Mar 2018 11:01:28 +0000 (12:01 +0100)
committerRichard Levitte <levitte@openssl.org>
Sat, 10 Mar 2018 08:53:48 +0000 (09:53 +0100)
commitd8bb766bdcd77ac43bb43424af698ae1050abb30
treef50aef7eb434be81eef4b93c682a937264ec6165
parent5cdc23a3e5d717a74776202f07f48e1dfbb19420
Configure: catch the build tree configdata.pm

There are things depending on configdata.pm.  However, it's perfectly
possible that there is one in the source directory from a previous
build, and that might disrupt an out of source build.  To avoid this
conflict, make sure never to use the source tree configdata.pm in that
case, i.e. make the hard assumption that it's a generated file in the
build tree, which it is.

Reviewed-by: Tim Hudson <tjh@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/5546)

(cherry picked from commit 846e4c4d650da50f049ee74901e840ffe409fa69)
Configure