From ed33a70c32f14cfe4cbbf3f490842b1fd1ef57f0 Mon Sep 17 00:00:00 2001 From: Greg Hudson Date: Tue, 28 May 2019 10:55:56 -0400 Subject: 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 --- src/configure.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/configure.in b/src/configure.in index 61ef738..36df71f 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 -- cgit v1.1