[grilo-plugins] build: Detect Lua in Debian systems



commit d00bfa9581cda2937002f024cfcaaed1e65e3b06
Author: Juan A. Suarez Romero <jasuarez igalia com>
Date:   Thu Feb 27 10:09:27 2014 +0000

    build: Detect Lua in Debian systems
    
    Debian packages lua pkgconfig file as lua5.2.pc, instead of plainly lua.pc.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=725299

 configure.ac |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 78416b7..2ef2475 100644
--- a/configure.ac
+++ b/configure.ac
@@ -138,7 +138,11 @@ PKG_CHECK_MODULES(GDATA, libgdata >= 0.7.0, HAVE_GDATA=yes, HAVE_GDATA=no)
 
 PKG_CHECK_MODULES(LIBSOUP, libsoup-2.4, HAVE_LIBSOUP=yes, HAVE_LIBSOUP=no)
 
-PKG_CHECK_MODULES(LUA, lua >= 5.2.0, HAVE_LUA=yes, HAVE_LUA=no)
+PKG_CHECK_MODULES(LUA, lua >= 5.2.0,
+                       HAVE_LUA=yes,
+                       [PKG_CHECK_MODULES(LUA, lua5.2 >= 5.2.0,
+                                               HAVE_LUA=yes,
+                                               HAVE_LUA=no)])
 
 PKG_CHECK_MODULES(GTHREAD, gthread-2.0, HAVE_GTHREAD=yes, HAVE_GTHREAD=no)
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]