[gconf] Fix distcheck. You should always use the same prefix as GLib for you gio modules for it to work it s



commit 41ce8d479417f752a1f101e4e68944d0f69b9e4f
Author: Kjartan Maraas <kmaraas gnome org>
Date:   Tue May 24 22:00:59 2011 +0200

    Fix distcheck. You should always use the same prefix as GLib for you gio
    modules for it to work it seems.
    
    But using pkg-config --variable giomoduledir gio-2.0 breaks distcheck
    because it then tries to overwrite stuff in /usr/lib/gio/modules.
    
    With good help from Company, davidz, chpe and mclasen and walters :-)

 configure.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.in b/configure.in
index 5dc0d7f..5e62509 100644
--- a/configure.in
+++ b/configure.in
@@ -242,8 +242,8 @@ if test "x$enable_gsettings_backend" != "xno" ; then
     fi
   else
     enable_gsettings_backend=yes
-    AC_SUBST(GIO_MODULE_DIR,
-             `pkg-config --variable giomoduledir gio-2.0`)
+    GIO_MODULE_DIR=$libdir/gio/modules
+    AC_SUBST(GIO_MODULE_DIR)
     AC_PATH_PROG(GIO_QUERYMODULES, gio-querymodules, no)
   fi
 fi



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