[vlc-devel] commit: Also try luajit if available ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Feb 17 18:31:49 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Wed Feb 17 19:31:33 2010 +0200| [e94fee3138d38d24d81ddbb521c6f7135a88238d] | committer: Rémi Denis-Courmont 

Also try luajit if available

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=e94fee3138d38d24d81ddbb521c6f7135a88238d
---

 configure.ac |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/configure.ac b/configure.ac
index 96cd9fc..0afc09c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1588,6 +1588,9 @@ AC_ARG_ENABLE(lua,
 		  plugins (default enabled)]))
 if test "${enable_lua}" != "no"
 then
+  PKG_CHECK_MODULES(LUA, luajit, [
+    have_lua=yes
+  ], [
   PKG_CHECK_MODULES(LUA, lua5.1,
     [ have_lua=yes ],
     [
@@ -1611,6 +1614,7 @@ then
         )
       ])
     ])
+  ])
   if test "x${have_lua}" = "xyes" ;  then
      VLC_ADD_LIBS([lua],[$LUA_LIBS])
      VLC_ADD_CFLAGS([lua],[$LUA_CFLAGS])




More information about the vlc-devel mailing list