mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
configure.in: Speedup lua finding.
This commit is contained in:
parent
b2d783351b
commit
84da0c5ccb
@ -907,7 +907,8 @@ if test -z "$disable_lua"; then
|
||||
fi
|
||||
for luadir in "$withval" "" /usr /usr/local; do
|
||||
for suffix in "" 50 51; do
|
||||
if test "$cf_result" = no; then
|
||||
if test "$cf_result" = no && ( test -f "$luadir/include/lua.h" || \
|
||||
test -f "$luadir/include/lua$suffix/lua.h" ) ; then
|
||||
LUA_LIBS="-llua$suffix -llualib$suffix -lm"
|
||||
|
||||
if test ! -z "$luadir"; then
|
||||
|
Loading…
Reference in New Issue
Block a user