mirror of
https://github.com/rkd77/elinks.git
synced 2025-06-30 22:19:29 -04: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
|
fi
|
||||||
for luadir in "$withval" "" /usr /usr/local; do
|
for luadir in "$withval" "" /usr /usr/local; do
|
||||||
for suffix in "" 50 51; 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"
|
LUA_LIBS="-llua$suffix -llualib$suffix -lm"
|
||||||
|
|
||||||
if test ! -z "$luadir"; then
|
if test ! -z "$luadir"; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user