[gnome-music] build: Check required gjs version at build time



commit 31036de07d0addd32cffc592ed5d0f32ca5653a5
Author: Bastien Nocera <hadess hadess net>
Date:   Wed May 29 17:47:37 2013 +0200

    build: Check required gjs version at build time
    
    https://bugzilla.gnome.org/show_bug.cgi?id=701197
    
    Signed-off-by: Seif Lotfy <seif lotfy com>

 configure.ac |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 3d1a7ba..b2bab05 100644
--- a/configure.ac
+++ b/configure.ac
@@ -34,6 +34,10 @@ if test "$GJS" = "no" ; then
        AC_MSG_ERROR([Can't find "gjs" in your PATH])
 fi
 
+# gjs' devel package will be required at "compile-time"
+GJS_MIN_VERSION=1.37.0
+PKG_CHECK_MODULES(GJS, gjs-1.0.pc >= $GJS_MIN_VERSION)
+
 GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable glib_compile_resources gio-2.0`
 AC_SUBST(GLIB_COMPILE_RESOURCES)
 


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