[nautilus-actions] Define HAVE_GSETTINGS variable
- From: Pierre Wieser <pwieser src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-actions] Define HAVE_GSETTINGS variable
- Date: Wed, 19 Jan 2011 21:47:15 +0000 (UTC)
commit e9f70074ac94aef7dae2fe20a2799dc404611742
Author: Pierre Wieser <pwieser trychlos org>
Date: Sun Jan 2 19:13:30 2011 +0100
Define HAVE_GSETTINGS variable
ChangeLog | 4 ++++
configure.ac | 6 ++++++
2 files changed, 10 insertions(+), 0 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index 79b26ef..e704624 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -133,6 +133,10 @@
* src/core/na-iabout.c (na_iabout_display):
Fix typo in comment, adding a note to the translators.
+2011-01-03 Pierre Wieser <pwieser trychlos org>
+
+ * configure.ac: Define HAVE_GSETTINGS variable.
+
2011-01-02 Pierre Wieser <pwieser trychlos org>
* src/nact/egg-desktop-file.c:
diff --git a/configure.ac b/configure.ac
index 7a653da..a744d26 100644
--- a/configure.ac
+++ b/configure.ac
@@ -151,6 +151,12 @@ NA_CHECK_MODULE([NAUTILUS_EXTENSION],[libnautilus-extension >= 2.8])
AC_SUBST([NAUTILUS_ACTIONS_CFLAGS])
AC_SUBST([NAUTILUS_ACTIONS_LIBS])
+# GSettings migration
+AC_MSG_CHECKING([for GSettings])
+PKG_CHECK_EXISTS([glib-2.0 >= 2.26],[have_gsettings="yes"],[have_gsettings="no"])
+AC_MSG_RESULT([${have_gsettings}])
+AC_DEFINE_UNQUOTED([HAVE_GSETTINGS],[ test "x${have_gsettings}" = "xyes"],[Whether we compile against a recent enough GIO])
+
# check for gtk-doc
# Starting with gtk-doc 1.15, multiple source dirs are directly handled
# by gtk-doc.make
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]