forked from mia/Aegisub
Check for lua.hpp usability not lua.h, Updates #998.
Originally committed to SVN as r3654.
This commit is contained in:
parent
42e0dd6ce4
commit
3bea135663
1 changed files with 2 additions and 1 deletions
|
@ -833,8 +833,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>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue