[gnome-todo] project: get GLib resource compiler by using PKG_CHECK_VAR macro.



commit f76ef0e3871183bf5cf67ccea2cbcf512b0dd926
Author: Iñigo Martínez <inigomartinez gmail com>
Date:   Tue Apr 25 15:49:07 2017 +0200

    project: get GLib resource compiler by using PKG_CHECK_VAR macro.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=781718

 configure.ac |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index d978a26..bce125e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -66,7 +66,7 @@ dnl Misc
 dnl ================================================================
 AC_PATH_PROG(GLIB_MKENUMS, glib-mkenums)
 
-GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable glib_compile_resources gio-2.0`
+PKG_CHECK_VAR([GLIB_COMPILE_RESOURCES], [gio-2.0], [glib_compile_resources])
 AC_SUBST([GLIB_COMPILE_RESOURCES])
 
 PKG_CHECK_MODULES(GNOME_TODO,


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