LUA_INCLUDE belongs to CPPFLAGS, not CFLAGS
This commit is contained in:
parent
b64159aff7
commit
f3fb958ce4
4
configure
vendored
4
configure
vendored
@ -4755,7 +4755,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
EXTRA_LIBS="${EXTRA_LIBS} ${LUA_LIB}" ;
|
EXTRA_LIBS="${EXTRA_LIBS} ${LUA_LIB}" ;
|
||||||
CFLAGS="${CFLAGS} ${LUA_INCLUDE}" ;
|
CPPFLAGS="${CPPFLAGS} ${LUA_INCLUDE}" ;
|
||||||
|
|
||||||
$as_echo "#define USE_LUA 1" >>confdefs.h
|
$as_echo "#define USE_LUA 1" >>confdefs.h
|
||||||
|
|
||||||
@ -5424,7 +5424,7 @@ else
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
EXTRA_LIBS="${EXTRA_LIBS} ${LUA_LIB}" ;
|
EXTRA_LIBS="${EXTRA_LIBS} ${LUA_LIB}" ;
|
||||||
CFLAGS="${CFLAGS} ${LUA_INCLUDE}" ;
|
CPPFLAGS="${CPPFLAGS} ${LUA_INCLUDE}" ;
|
||||||
|
|
||||||
$as_echo "#define USE_LUA 1" >>confdefs.h
|
$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_HEADERS([],[AC_MSG_ERROR([No lua headers found. Try --disable-liblua])])
|
||||||
AX_LUA_LIBS([],[AC_MSG_ERROR([No lua libs found. Try --disable-liblua])])
|
AX_LUA_LIBS([],[AC_MSG_ERROR([No lua libs found. Try --disable-liblua])])
|
||||||
[EXTRA_LIBS="${EXTRA_LIBS} ${LUA_LIB}" ; ]
|
[EXTRA_LIBS="${EXTRA_LIBS} ${LUA_LIB}" ; ]
|
||||||
[CFLAGS="${CFLAGS} ${LUA_INCLUDE}" ; ]
|
[CPPFLAGS="${CPPFLAGS} ${LUA_INCLUDE}" ; ]
|
||||||
AC_DEFINE(USE_LUA,1,[use lua])
|
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_HEADERS([],[AC_MSG_ERROR([No lua headers found. Try --disable-liblua])])
|
||||||
AX_LUA_LIBS([],[AC_MSG_ERROR([No lua libs found. Try --disable-liblua])])
|
AX_LUA_LIBS([],[AC_MSG_ERROR([No lua libs found. Try --disable-liblua])])
|
||||||
[EXTRA_LIBS="${EXTRA_LIBS} ${LUA_LIB}" ; ]
|
[EXTRA_LIBS="${EXTRA_LIBS} ${LUA_LIB}" ; ]
|
||||||
[CFLAGS="${CFLAGS} ${LUA_INCLUDE}" ; ]
|
[CPPFLAGS="${CPPFLAGS} ${LUA_INCLUDE}" ; ]
|
||||||
AC_DEFINE(USE_LUA,1,[use lua])
|
AC_DEFINE(USE_LUA,1,[use lua])
|
||||||
],
|
],
|
||||||
[
|
[
|
||||||
|
Loading…
x
Reference in New Issue
Block a user