Merge r3654, Closes #998.

Originally committed to SVN as r3655.
This commit is contained in:
Amar Takhar 2009-10-09 14:44:25 +00:00
parent f4269dee62
commit a67728516e
1 changed files with 2 additions and 1 deletions

View File

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