Commit 7255b4fc authored by Pierre d'Herbemont's avatar Pierre d'Herbemont

configure.ac: Make sure lua is enabled when --enable-lua is set.

parent 872976e5
......@@ -1563,7 +1563,7 @@ then
AC_MSG_WARN([lua >= 5.1 not found!])
])
])
if test "x${have_lua}" = "xyes"; then
if test "x${have_lua}" = "xyes" -o "x${enable_lua}" = "xyes"; then
AC_DEFINE(HAVE_LUA, [], [Define if you have the lua library])
VLC_ADD_PLUGINS([luaplaylist])
VLC_ADD_LDFLAGS([luaplaylist],[$LUA_LIBS])
......
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