aboutsummaryrefslogtreecommitdiffstats
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
commit17e7512c9f14d2388fd479e6d77240c285963c4c (patch)
tree12621b35130c082b00e70a14ba05e72948413591
parente39c5a5316f64071984acf80699eeb770f76362f (diff)
downloadprosody-17e7512c9f14d2388fd479e6d77240c285963c4c.tar.gz
prosody-17e7512c9f14d2388fd479e6d77240c285963c4c.zip
configure: Set runtime in debian preset to allow building without interperter installed
-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"