Commit f3fb958c authored by Dmitrij D. Czarkoff's avatar Dmitrij D. Czarkoff

LUA_INCLUDE belongs to CPPFLAGS, not CFLAGS

parent b64159af
......@@ -4755,7 +4755,7 @@ else
fi
EXTRA_LIBS="${EXTRA_LIBS} ${LUA_LIB}" ;
CFLAGS="${CFLAGS} ${LUA_INCLUDE}" ;
CPPFLAGS="${CPPFLAGS} ${LUA_INCLUDE}" ;
$as_echo "#define USE_LUA 1" >>confdefs.h
......@@ -5424,7 +5424,7 @@ else
fi
EXTRA_LIBS="${EXTRA_LIBS} ${LUA_LIB}" ;
CFLAGS="${CFLAGS} ${LUA_INCLUDE}" ;
CPPFLAGS="${CPPFLAGS} ${LUA_INCLUDE}" ;
$as_echo "#define USE_LUA 1" >>confdefs.h
......
......@@ -55,7 +55,7 @@ AC_ARG_ENABLE(liblua,[--enable-liblua/--disable-liblua],
AX_LUA_HEADERS([],[AC_MSG_ERROR([No lua headers found. Try --disable-liblua])])
AX_LUA_LIBS([],[AC_MSG_ERROR([No lua libs found. Try --disable-liblua])])
[EXTRA_LIBS="${EXTRA_LIBS} ${LUA_LIB}" ; ]
[CFLAGS="${CFLAGS} ${LUA_INCLUDE}" ; ]
[CPPFLAGS="${CPPFLAGS} ${LUA_INCLUDE}" ; ]
AC_DEFINE(USE_LUA,1,[use lua])
],
[
......@@ -69,7 +69,7 @@ AC_ARG_ENABLE(liblua,[--enable-liblua/--disable-liblua],
AX_LUA_HEADERS([],[AC_MSG_ERROR([No lua headers found. Try --disable-liblua])])
AX_LUA_LIBS([],[AC_MSG_ERROR([No lua libs found. Try --disable-liblua])])
[EXTRA_LIBS="${EXTRA_LIBS} ${LUA_LIB}" ; ]
[CFLAGS="${CFLAGS} ${LUA_INCLUDE}" ; ]
[CPPFLAGS="${CPPFLAGS} ${LUA_INCLUDE}" ; ]
AC_DEFINE(USE_LUA,1,[use lua])
],
[
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment