From 51f732d05c4f0e5821034c4ef90b7a05c5925134 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 23 Feb 2017 09:03:57 +0100 Subject: build: skip configure check for built-in lpeg if lua is not found $ ./configure --disable-lua will no longer look for liblpeg. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index fe85ccf..5255908 100755 --- a/configure +++ b/configure @@ -465,7 +465,7 @@ fi CONFIG_LPEG=0 -if test "$lpeg" != "no" ; then +if test $CONFIG_LUA -eq 1 -a "$lpeg" != "no" ; then printf "checking for liblpeg ... " -- cgit v1.2.3