From 2142a81bf99fef674994b19afc40fab52310fcc1 Mon Sep 17 00:00:00 2001 From: Michael Wallner Date: Tue, 29 Nov 2016 09:32:17 +0100 Subject: [PATCH] configure: higher precedence for $LEMON --- m4/psi/psi.m4 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/m4/psi/psi.m4 b/m4/psi/psi.m4 index 4012ec1..63ed194 100644 --- a/m4/psi/psi.m4 +++ b/m4/psi/psi.m4 @@ -294,7 +294,10 @@ dnl PSI_LEMON() dnl Declare $LEMON precious, and check for a `lemon` in $PATH. AC_DEFUN(PSI_LEMON, [ AC_ARG_VAR(LEMON, The lemon parser generator of the SQLite project) - AC_PATH_PROG(LEMON, lemon, ./lemon) + if test -z "$LEMON" + then + AC_PATH_PROG(LEMON, lemon, ./lemon) + fi PHP_SUBST(LEMON) ]) -- 2.30.2