aboutsummaryrefslogtreecommitdiff
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
commitf06cea2afb71bcbb6fb4e7414b96a60d68ec2fc5 (patch)
tree5856c433805f7d74671114971f15850c824a8ea0
parente8faf554cadccc94db7a34be46810299003aa616 (diff)
downloadprosody-im-server-f06cea2afb71bcbb6fb4e7414b96a60d68ec2fc5.tar
prosody-im-server-f06cea2afb71bcbb6fb4e7414b96a60d68ec2fc5.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"