Check for lua.hpp usability not lua.h, Updates #998.

Originally committed to SVN as r3654.
This commit is contained in:
Amar Takhar 2009-10-09 14:43:14 +00:00
parent 42e0dd6ce4
commit 3bea135663
1 changed files with 2 additions and 1 deletions

View File

@ -833,8 +833,9 @@ aegisub_save_LIBS="$LIBS"
LIBS="$LUA_LDFLAGS"
if test "$with_lua" != no; then
AC_AGI_COMPILE([Lua 5.1 (auto4)], [lua], [$LUA_CFLAGS], [],[
#include <lua.hpp>
extern "C" {
#include <lua.h>
#include <lauxlib.h>
}