configure: Handle lua being found in /bin (workaround for #1353) 0.11
authorKim Alvefur <zash@zash.se>
Sat, 04 May 2019 22:48:59 +0200
branch0.11
changeset 10002 c8646f65767a
parent 9998 524b8cd76780
child 10003 d2febb4befbc
child 10015 2408e6362c15
configure: Handle lua being found in /bin (workaround for #1353)
configure
--- a/configure	Sat May 04 04:23:35 2019 +0200
+++ b/configure	Sat May 04 22:48:59 2019 +0200
@@ -419,6 +419,13 @@
 }
 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