[gnome-mahjongg] build: use pkg-config to find glib-compile-resources



commit 57c7657f48a57c996ab8db437732335e1cbeb0a5
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Fri Nov 1 19:56:38 2013 -0500

    build: use pkg-config to find glib-compile-resources
    
    It's there to be used.

 configure.ac |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 8aeae9f..af5d2ec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -7,8 +7,6 @@ GNOME_MAINTAINER_MODE_DEFINES
 AM_PROG_VALAC([0.16.0])
 AM_PROG_CC_C_O
 
-AC_PATH_PROG(GLIB_COMPILE_RESOURCES, glib-compile-resources)
-
 GLIB_GSETTINGS
 
 dnl ###########################################################################
@@ -23,6 +21,9 @@ PKG_CHECK_MODULES(GNOME_MAHJONGG, [
   librsvg-2.0 >= $RSVG_REQUIRED
 ])
 
+GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable glib_compile_resources gio-2.0`
+AC_SUBST(GLIB_COMPILE_RESOURCES)
+
 AC_PATH_PROG(APPDATA_VALIDATE, appdata-validate)
 AC_PATH_PROG(DESKTOP_FILE_VALIDATE, desktop-file-validate)
 


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