make --with-lua=no disable lua support
This commit is contained in:
@ -8,11 +8,12 @@ AC_ARG_WITH(lua,
|
||||
[ac_cv_use_lua="$with_lua"], [ac_cv_use_lua="yes"])
|
||||
AC_CACHE_CHECK([whether to compile with Lua support], [ac_cv_use_lua], [ac_cv_use_lua=no])
|
||||
|
||||
if test "xac_cv_use_lua" != "xno"; then
|
||||
if test "x$ac_cv_use_lua" != "xno"; then
|
||||
|
||||
AC_DEFINE(HAVE_LUA, 1, [Define to 1 if you have Lua headers and libraries])
|
||||
AM_CONDITIONAL(USE_LUA, test "x$ac_cv_use_lua" != "x")
|
||||
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL(USE_LUA, test "x$ac_cv_use_lua" != "xno")
|
||||
])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user