]> git.ipfire.org Git - thirdparty/krb5.git/commitdiff
Fix Python fallback in configure.ac
authorGreg Hudson <ghudson@mit.edu>
Tue, 28 May 2019 14:55:56 +0000 (10:55 -0400)
committerGreg Hudson <ghudson@mit.edu>
Tue, 28 May 2019 14:56:48 +0000 (10:56 -0400)
Commit 2bd410ecdb366083fe9b4e5f6ac4b741b624230b (ticket 8709)
contained a typo "text" for "test", preventing the Python path check
from falling back from python2 to python.  This is now a fallback from
python3 to python, but the typo remains.  Fix it now.

Based on a patch by Michael Osipov.

ticket: 8810 (new)
tags: pullup
target_version: 1.17-next

src/configure.ac

index 9bafee73e6348aee19c637a15b42cec900d89a33..179cad089d58176de00baa7fa1597080082d2c01 100644 (file)
@@ -1143,7 +1143,7 @@ AC_SUBST(HAVE_RUNTEST)
 
 # For Python tests.
 AC_CHECK_PROG(PYTHON,python3,python3)
-if text x"$PYTHON" = x; then
+if test x"$PYTHON" = x; then
        AC_CHECK_PROG(PYTHON,python,python)
 fi
 HAVE_PYTHON=no