Software /
code /
prosody
Comparison
configure @ 9998:c8646f65767a 0.11
configure: Handle lua being found in /bin (workaround for #1353)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 04 May 2019 22:48:59 +0200 |
parent | 9427:460f08008521 |
child | 9999:d2febb4befbc |
comparison
equal
deleted
inserted
replaced
9994:524b8cd76780 | 9998:c8646f65767a |
---|---|
417 search_interpreter "$LUA_SUFFIX" && { | 417 search_interpreter "$LUA_SUFFIX" && { |
418 lua_interp_found=yes | 418 lua_interp_found=yes |
419 } | 419 } |
420 fi | 420 fi |
421 | 421 |
422 # See #1353 | |
423 if [ "$LUA_DIR_SET" != "yes" ] && [ "$LUA_DIR" = "/" ] | |
424 then | |
425 LUA_DIR="/usr" | |
426 fi | |
427 | |
428 | |
422 if [ "$lua_interp_found" != "yes" ] && [ "$RUNWITH_SET" != "yes" ] | 429 if [ "$lua_interp_found" != "yes" ] && [ "$RUNWITH_SET" != "yes" ] |
423 then | 430 then |
424 if [ "$LUA_VERSION_SET" ]; then | 431 if [ "$LUA_VERSION_SET" ]; then |
425 interp="Lua $LUA_VERSION"; | 432 interp="Lua $LUA_VERSION"; |
426 else | 433 else |