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



commit 460df6f9216bbf18164b8100f0a8d26ed35119a3
Author: Kalev Lember <kalevlember gmail com>
Date:   Wed Apr 11 23:02:29 2012 +0300

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

 configure.ac |    7 +------
 1 files changed, 1 insertions(+), 6 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6b982c5..2d542e7 100644
--- a/configure.ac
+++ b/configure.ac
@@ -78,12 +78,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)
-
 # ================================================================
 # Plugins
 # ================================================================
@@ -284,6 +278,7 @@ AC_SUBST([BUILD_PLUGINS],[$PLUGINS])
 # ================================================================
 # Misc
 # ================================================================
+AC_PATH_PROG(GLIB_COMPILE_RESOURCES, glib-compile-resources)
 AC_PATH_PROG(GLIB_GENMARSHAL, glib-genmarshal)
 
 AC_ARG_ENABLE(deprecations,



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