mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
configure.in: Speedup lua finding.
This commit is contained in:
parent
0ff55c3ac2
commit
7a3f947a50
@ -895,7 +895,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…
x
Reference in New Issue
Block a user