diff options
author | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2018-06-27 11:49:33 +0000 |
---|---|---|
committer | jorton <jorton@13f79535-47bb-0310-9956-ffa450edef68> | 2018-06-27 11:49:33 +0000 |
commit | c5a5225f092cac2a8690e7e60da0c8b8813fb6ad (patch) | |
tree | 260cba7194c69ac767e3e2117fbb65273572db67 /buildconf | |
parent | 3f74184f8745d28b705daf0f66403c7a4acc8abc (diff) | |
download | libapr-c5a5225f092cac2a8690e7e60da0c8b8813fb6ad.tar.gz |
Merge r1834494 from trunk:
* build/buildcheck.sh, buildconf: Detect and run under Python 3 or 2,
and respect $PYTHON.
* build/gen-build.py: Fix various Python 3 compatibility issues.
git-svn-id: http://svn.apache.org/repos/asf/apr/apr/branches/1.7.x@1834495 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'buildconf')
-rwxr-xr-x | buildconf | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -112,8 +112,10 @@ ${AUTOCONF:-autoconf} $verbose # Remove autoconf 2.5x's cache directory rm -rf autom4te*.cache +PYTHON=${PYTHON-`build/PrintPath python3 python2 python`} + echo "buildconf: generating 'make' outputs ..." -build/gen-build.py $verbose make +${PYTHON} build/gen-build.py $verbose make # Create RPM Spec file if [ -f `which cut` ]; then |