aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-09-28 07:25:54 +0200
committerKim Alvefur <zash@zash.se>2017-09-28 07:25:54 +0200
commit81d26917ae5ec434e6f929202c4810f8a616040f (patch)
tree12621b35130c082b00e70a14ba05e72948413591 /configure
parent608e6fe5d4f032587b955c9232ab283840632056 (diff)
downloadprosody-81d26917ae5ec434e6f929202c4810f8a616040f.tar.gz
prosody-81d26917ae5ec434e6f929202c4810f8a616040f.zip
configure: Set runtime in debian preset to allow building without interperter installed
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 63403738..dd45e3a2 100755
--- a/configure
+++ b/configure
@@ -172,6 +172,10 @@ do
LUA_SUFFIX="5.1";
LUA_SUFFIX_SET=yes
fi
+ if [ "$RUNWITH_SET" != "yes" ]; then
+ RUNWITH="lua$LUA_SUFFIX";
+ RUNWITH_SET=yes
+ fi
LUA_INCDIR="/usr/include/lua$LUA_SUFFIX"
LUA_INCDIR_SET=yes
CFLAGS="$CFLAGS -ggdb"