]> git.sesse.net Git - vlc/commitdiff
configure.ac: Make sure lua is enabled when --enable-lua is set.
authorPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 19 May 2007 16:51:05 +0000 (16:51 +0000)
committerPierre d'Herbemont <pdherbemont@videolan.org>
Sat, 19 May 2007 16:51:05 +0000 (16:51 +0000)
configure.ac

index 71299e5037528576c82841980bacb3d8eaaddbd4..0fd13222a141fa92142f83178e2c2e41d072a978 100644 (file)
@@ -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])