aboutsummaryrefslogtreecommitdiffstats
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
commit8fd66538f60d02b3778f1037dce9bda864874476 (patch)
treeda095d9acd5276e3fd65bdb872c2e7265bcfbb7d
parent36957928e1a7911c6dd19e58020c85512b47795d (diff)
downloadprosody-8fd66538f60d02b3778f1037dce9bda864874476.tar.gz
prosody-8fd66538f60d02b3778f1037dce9bda864874476.zip
configure: Handle lua being found in /bin (workaround for #1353)
-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