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
commit85723ef8471270a831a4b3c261f0cd2ef48ff4b3 (patch)
treeda095d9acd5276e3fd65bdb872c2e7265bcfbb7d /configure
parent6dfc361a6cabbbd3894cadb5504ccec0a7d7ae27 (diff)
downloadprosody-85723ef8471270a831a4b3c261f0cd2ef48ff4b3.tar.gz
prosody-85723ef8471270a831a4b3c261f0cd2ef48ff4b3.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