From: Greg Hudson Date: Tue, 28 May 2019 14:55:56 +0000 (-0400) Subject: Fix Python fallback in configure.ac X-Git-Tag: krb5-1.18-beta1~128 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b7c260b22c5d815b83ff37a35569e07e847cd9c3;p=thirdparty%2Fkrb5.git 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 --- diff --git a/src/configure.ac b/src/configure.ac index 9bafee73e6..179cad089d 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