summaryrefslogtreecommitdiff
path: root/poll
diff options
context:
space:
mode:
authorrpluem <rpluem@13f79535-47bb-0310-9956-ffa450edef68>2023-03-10 10:54:03 +0000
committerrpluem <rpluem@13f79535-47bb-0310-9956-ffa450edef68>2023-03-10 10:54:03 +0000
commit6c2d4b7007313c337ce46b078b10bfe93e0b5e3d (patch)
treee9e80d5eaa0a4a28e7b65af8cccebc1caba2d4ae /poll
parent717d697b297435fa6c5e617f10bc0d06a05ff335 (diff)
downloadlibapr-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 'poll')
0 files changed, 0 insertions, 0 deletions