You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by jo...@apache.org on 2018/10/10 09:57:31 UTC
svn commit: r1843419 - /apr/apr-util/branches/1.7.x/buildconf
Author: jorton
Date: Wed Oct 10 09:57:31 2018
New Revision: 1843419
URL: http://svn.apache.org/viewvc?rev=1843419&view=rev
Log:
* buildconf: Find python executable as in apr's buildconf.
Modified:
apr/apr-util/branches/1.7.x/buildconf
Modified: apr/apr-util/branches/1.7.x/buildconf
URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.7.x/buildconf?rev=1843419&r1=1843418&r2=1843419&view=diff
==============================================================================
--- apr/apr-util/branches/1.7.x/buildconf (original)
+++ apr/apr-util/branches/1.7.x/buildconf Wed Oct 10 09:57:31 2018
@@ -87,7 +87,8 @@ fi
# Generate build-outputs.mk for the build system
#
echo "Generating 'make' outputs ..."
-$apr_src_dir/build/gen-build.py $verbose make
+PYTHON=${PYTHON-`$apr_src_dir/build/PrintPath python3 python2 python`}
+$PYTHON $apr_src_dir/build/gen-build.py $verbose make
# Remove autoconf cache again
rm -rf autom4te*.cache