1 AC_DEFUN([PDNS_CHECK_LUA_HPP],[
2 AC_REQUIRE([PDNS_WITH_LUA])
3 AC_REQUIRE([PDNS_WITH_LUAJIT])
4 AS_IF([test "x$LUAPC" != "x" -o "x$LUAJITPC" != "x" ], [
5 AC_CHECK_HEADER([lua.hpp], [ have_lua_hpp=y ])
7 AM_CONDITIONAL([HAVE_LUA_HPP], [ test x"$have_lua_hpp" = "xy" ])