diff --git a/scripts/ax_lua.m4 b/scripts/ax_lua.m4 index ddbb9dd6..ef010736 100644 --- a/scripts/ax_lua.m4 +++ b/scripts/ax_lua.m4 @@ -626,6 +626,8 @@ AC_DEFUN([AX_LUA_LIBS], lua$LUA_SHORT_VERSION \ lua-$LUA_VERSION \ lua-$LUA_SHORT_VERSION \ + :liblua-$LUA_VERSION.so.0 \ + :liblua-$LUA_SHORT_VERSION.so.0 \ lua \ ], [_ax_found_lua_libs='yes'], diff --git a/scripts/checks.m4 b/scripts/checks.m4 index 629020db..4187e1de 100644 --- a/scripts/checks.m4 +++ b/scripts/checks.m4 @@ -400,7 +400,7 @@ AC_DEFUN([TORRENT_WITH_XMLRPC_C], [ else xmlrpc_cc_prg="$withval" fi - + if eval $xmlrpc_cc_prg --version 2>/dev/null >/dev/null; then CXXFLAGS="$CXXFLAGS `$xmlrpc_cc_prg --cflags server-util`" LIBS="$LIBS `$xmlrpc_cc_prg server-util --libs`"