Guest User

Untitled

a guest
Dec 11th, 2017
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. diff --git a/autoconf/m4/lua.m4 b/autoconf/m4/lua.m4
  2. index e66c2e8..7231649 100755
  3. --- a/autoconf/m4/lua.m4
  4. +++ b/autoconf/m4/lua.m4
  5. @@ -53,6 +53,17 @@ if test "$LUA_MISSING" = "yes"; then
  6. fi
  7. fi
  8. fi
  9. +
  10. + # Gentoo based test, and probably a basic last-hope
  11. + if test "$LUA_MISSING" = "yes"; then
  12. + if test -f /usr/include/lua.h; then
  13. + AC_CHECK_LIB( lua, luaL_newstate, [
  14. + LUA_LIBS="-L/usr/lib -llua"
  15. + LUA_CFLAGS="-I/usr/include"
  16. + LUA_MISSING="no"
  17. + ])
  18. + fi
  19. + fi
  20.  
  21. if test "$LUA_MISSING" = "yes"; then
  22. echo
Add Comment
Please, Sign In to add comment