Use the dynamically selected python for Koji configure tests
authorDodji Seketeli <dodji@redhat.com>
Wed, 16 May 2018 06:59:26 +0000 (08:59 +0200)
committerDodji Seketeli <dodji@redhat.com>
Wed, 16 May 2018 06:59:26 +0000 (08:59 +0200)
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>
configure.ac

index 5ae6583..0350d80 100644 (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