1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Ubuntu has liblua5.1.so, so added 5.1 to the "search path".

Reported by Ahmed El-Mahmoudy.
This commit is contained in:
Witold Filipczyk 2010-07-25 20:13:09 +02:00 committed by Witold Filipczyk
parent 1f98df36a6
commit 685cd47c2e

View File

@ -921,7 +921,7 @@ if test -z "$disable_lua"; then
withval="";
fi
for luadir in "$withval" "" /usr /usr/local; do
for suffix in "" 51; do
for suffix in "" 5.1 51; do
if test "$cf_result" = no && ( test -f "$luadir/include/lua.h" || \
test -f "$luadir/include/lua$suffix/lua.h" ) ; then
LUA_LIBS="-L$luadir/lib -llua$suffix -lm"