aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-05-04 22:48:59 +0200
committerKim Alvefur <zash@zash.se>2019-05-04 22:48:59 +0200
commite0000f5fa615d0f55195f55bd0e7d20c6b16651b (patch)
treeda095d9acd5276e3fd65bdb872c2e7265bcfbb7d /configure
parentd2d042186f440e4f95444c693c9a7737cc377e56 (diff)
downloadprosody-e0000f5fa615d0f55195f55bd0e7d20c6b16651b.tar.gz
prosody-e0000f5fa615d0f55195f55bd0e7d20c6b16651b.zip
configure: Handle lua being found in /bin (workaround for #1353)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 7 insertions, 0 deletions
diff --git a/configure b/configure
index 4307997c..0fe186b5 100755
--- a/configure
+++ b/configure
@@ -419,6 +419,13 @@ else
}
fi
+# See #1353
+if [ "$LUA_DIR_SET" != "yes" ] && [ "$LUA_DIR" = "/" ]
+then
+ LUA_DIR="/usr"
+fi
+
+
if [ "$lua_interp_found" != "yes" ] && [ "$RUNWITH_SET" != "yes" ]
then
if [ "$LUA_VERSION_SET" ]; then