diff options
author | rpluem <rpluem@13f79535-47bb-0310-9956-ffa450edef68> | 2023-03-10 10:54:03 +0000 |
---|---|---|
committer | rpluem <rpluem@13f79535-47bb-0310-9956-ffa450edef68> | 2023-03-10 10:54:03 +0000 |
commit | 6c2d4b7007313c337ce46b078b10bfe93e0b5e3d (patch) | |
tree | e9e80d5eaa0a4a28e7b65af8cccebc1caba2d4ae /random | |
parent | 717d697b297435fa6c5e617f10bc0d06a05ff335 (diff) | |
download | libapr-6c2d4b7007313c337ce46b078b10bfe93e0b5e3d.tar.gz |
Fix crosscompiling detection in apr-1-config
Since r1872148 apr-1-config tries to detect if it runs in a crosscompile
scenario. Fix the detection to correctly distinguish between crosscompiling
and DESTDIR installations for packaging.
* configure.in: Set APR_CROSS_COMPILING to 'no', 'yes' or 'maybe' based on
possible --host and --build parameters given to configure to determine
if configure was called for a crosscompiling scenario. This was inspired
by how autoconf itself detects crosscompiling scenarios.
* apr-config.in: Use the value from APR_CROSS_COMPILING to determine if
we are in a crosscompiling scenario. Furthermore normalize the pathes
we use for suffix matches by collapsing multiple consecutive '/' to one.
PR: 66510
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1908248 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'random')
0 files changed, 0 insertions, 0 deletions