From: Michael Wallner Date: Tue, 29 Nov 2016 08:32:17 +0000 (+0100) Subject: configure: higher precedence for $LEMON X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=2142a81bf99fef674994b19afc40fab52310fcc1;p=m6w6%2Fext-psi configure: higher precedence for $LEMON --- 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) ])