[gnome-tweak-tool] Configure should check for gconftool-2
- From: John Stowers <jstowers src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-tweak-tool] Configure should check for gconftool-2
- Date: Thu, 17 Mar 2011 11:38:55 +0000 (UTC)
commit 1ceb3a033af185ca83a5894604985b97ad842a8a
Author: John Stowers <john stowers gmail com>
Date: Fri Mar 18 00:37:21 2011 +1300
Configure should check for gconftool-2
If you are reading this it means you know that gnome-tweak-tool
calls a command line client to get the schema descriptions for
gconf settings. This is ugly. I know. Please port your application
to gsettings.
configure.ac | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 0e88bda..e873737 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11,6 +11,11 @@ PYGOBJECT_REQUIRED_VERSION=2.27.91
PKG_CHECK_MODULES(GSETTINGS_DESKTOP_SCHEMAS, gsettings-desktop-schemas >= $DESKTOP_SCHEMAS_REQUIRED_VERSION)
PKG_CHECK_MODULES(DEPENDENCIES, pygobject-2.0 >= $PYGOBJECT_REQUIRED_VERSION)
+AC_CHECK_PROG(GCONFTOOL,gconftool-2,gconftool-2,no)
+if test "$GCONFTOOL" = no ; then
+ AC_MSG_ERROR(Cannot find gconftool-2)
+fi
+
AS_AC_EXPAND(DATADIR, "${datadir}")
AS_AC_EXPAND(PKGDATADIR, "${datadir}/${PACKAGE}")
AS_AC_EXPAND(GSETTINGSSCHEMADIR, "${gsettingsschemadir}")
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]