aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2017-02-23 09:03:57 +0100
committerMarc André Tanner <mat@brain-dump.org>2017-02-23 09:09:46 +0100
commit51f732d05c4f0e5821034c4ef90b7a05c5925134 (patch)
treed1232f6502067cef4905169dff246212a69a5350 /configure
parent8c55288c6b9fa487bf49783a2fc36adbbe4ea456 (diff)
downloadvis-51f732d05c4f0e5821034c4ef90b7a05c5925134.tar.gz
vis-51f732d05c4f0e5821034c4ef90b7a05c5925134.tar.xz
build: skip configure check for built-in lpeg if lua is not found
$ ./configure --disable-lua will no longer look for liblpeg.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
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 ... "