summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGreg Hudson <ghudson@mit.edu>2019-05-28 10:55:56 -0400
committerGreg Hudson <ghudson@mit.edu>2019-12-09 17:02:52 -0500
commited33a70c32f14cfe4cbbf3f490842b1fd1ef57f0 (patch)
treea944663058e2ac2faee1294c3235d1feafbda7b1
parentbfc4bcaf6b132e12d15b0855c1cc71ddbe52c554 (diff)
downloadkrb5-ed33a70c32f14cfe4cbbf3f490842b1fd1ef57f0.tar.gz
Fix Python fallback in configure.ac
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. (cherry picked from commit b7c260b22c5d815b83ff37a35569e07e847cd9c3) ticket: 8810 version_fixed: 1.17.1
-rw-r--r--src/configure.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/configure.in b/src/configure.in
index 61ef738dc..36df71fa9 100644
--- a/src/configure.in
+++ b/src/configure.in
@@ -1110,7 +1110,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