Use the dynamically selected python for Koji configure tests

When doing the Koji version tests at configure time, use the version
of the python interpreter that was selected by configure, not the one
first (randomly) found in the current PATH.

	* configure.ac: Use the python interpreter that was selected by
	the configure script for the Koji version test.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
Dodji Seketeli 2018-05-16 08:59:26 +02:00
parent 277100a15c
commit d160c47cbf

View File

@ -437,7 +437,7 @@ if test x$CHECK_DEPS_FOR_FEDABIPKGDIFF = xyes; then
# can to try and detect that case and disable fedabipkgdiff if
# necessary.
AC_MSG_CHECKING([checking if koji client is recent enough ...])
python -c "
$PYTHON -c "
import koji
koji.read_config('koji')"
if test $? -eq 0; then