krb5 commit: Fix Python fallback in configure.ac

Greg Hudson <[email protected]>
Newsgroups gmane.comp.encryption.kerberos.cvs
Message-ID <[email protected]>
https://github.com/krb5/krb5/commit/b7c260b22c5d815b83ff37a35569e07e847cd9c3
commit b7c260b22c5d815b83ff37a35569e07e847cd9c3
Author: Greg Hudson <[email protected]>
Date:   Tue May 28 10:55:56 2019 -0400

    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.
    
    ticket: 8810 (new)
    tags: pullup
    target_version: 1.17-next

 src/configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/configure.ac b/src/configure.ac
index 9bafee7..179cad0 100644
--- a/src/configure.ac
+++ b/src/configure.ac
@@ -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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.