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
commit6dc4386c714a36668eccd485f3b1fad52dac4361 (patch)
tree12621b35130c082b00e70a14ba05e72948413591
parent78dd613bca5ba7dd05f7fbdca62216efebb465a6 (diff)
downloadprosody-6dc4386c714a36668eccd485f3b1fad52dac4361.tar.gz
prosody-6dc4386c714a36668eccd485f3b1fad52dac4361.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"