Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- diff --git a/autoconf/m4/lua.m4 b/autoconf/m4/lua.m4
- index e66c2e8..7231649 100755
- --- a/autoconf/m4/lua.m4
- +++ b/autoconf/m4/lua.m4
- @@ -53,6 +53,17 @@ if test "$LUA_MISSING" = "yes"; then
- fi
- fi
- fi
- +
- + # Gentoo based test, and probably a basic last-hope
- + if test "$LUA_MISSING" = "yes"; then
- + if test -f /usr/include/lua.h; then
- + AC_CHECK_LIB( lua, luaL_newstate, [
- + LUA_LIBS="-L/usr/lib -llua"
- + LUA_CFLAGS="-I/usr/include"
- + LUA_MISSING="no"
- + ])
- + fi
- + fi
- if test "$LUA_MISSING" = "yes"; then
- echo
Add Comment
Please, Sign In to add comment