[gtranslator] Use AC_PATH_PROG() for finding glib-compile-resources



commit 83afe5cda125a0e9e3cb8c2c9bc1a20ff7fd0137
Author: Kalev Lember <kalevlember gmail com>
Date:   Wed Apr 11 23:04:56 2012 +0300

    Use AC_PATH_PROG() for finding glib-compile-resources
    
    ... similar to how glib-mkenums and glib-genmarshal are found.

 configure.ac |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 608d991..0d530b8 100644
--- a/configure.ac
+++ b/configure.ac
@@ -59,6 +59,7 @@ dnl -------------------------------------------------------------------
 GNOME_COMPILE_WARNINGS([maximum])
 
 
+AC_PATH_PROG([GLIB_COMPILE_RESOURCES], [glib-compile-resources])
 AC_PATH_PROG([GLIB_GENMARSHAL], [glib-genmarshal])
 AC_PATH_PROG([GLIB_MKENUMS], [glib-mkenums])
 
@@ -67,12 +68,6 @@ dnl GSettings stuff
 dnl ================================================================
 GLIB_GSETTINGS
 
-dnl ================================================================
-dnl GResource stuff
-dnl ================================================================
-GLIB_COMPILE_RESOURCES=`$PKG_CONFIG --variable glib_compile_resources gio-2.0`
-AC_SUBST(GLIB_COMPILE_RESOURCES)
-
 dnl ==========================================================================
 dnl
 dnl If you add a version number here, you *must* add an AC_SUBST line for



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