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

configure: Don't try to link with Lua 5.1.

ELinks does not yet work with Lua 5.1 (see bug 742),
so the configure script should not suggest that it does.
When bug 742 is eventually fixed, ELinks should probably
prefer Lua 5.1 over 5.0, as the newer version seems likely
to be kept installed longer.
This commit is contained in:
Kalle Olavi Niemitalo 2008-02-09 13:27:33 +02:00 committed by Kalle Olavi Niemitalo
parent bd67e69bcd
commit dc747a6ec3

View File

@ -742,7 +742,7 @@ if test -z "$disable_lua"; then
withval="";
fi
for luadir in "$withval" "" /usr /usr/local; do
for suffix in "" 50 51; do
for suffix in "" 50; do
if test "$cf_result" = no; then
LUA_LIBS="-llua$suffix -llualib$suffix -lm"