Lua 5.1 improvements for Ubuntu (it still does not detect lua5.1.so

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10181 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2007-12-08 00:23:06 +00:00
commit 254572afa4

View file

@ -1671,7 +1671,7 @@ AC_MSG_CHECKING(for Lua library)
if test -z "$LUALIB"; then
dirs="/usr/local/lib /usr/lib /opt/local/lib"
for i in $dirs ; do
if test -r $i/liblua.a; then
if test -r $i/liblua*.a; then
AC_MSG_RESULT($i)
LUALIB="-L$i"
break