summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorStefano Karapetsas <[email protected]>2013-07-24 12:38:43 +0200
committerStefano Karapetsas <[email protected]>2013-07-24 12:38:43 +0200
commit8e81604f27ab1314b3a2ecc73b489ceee0d10fdb (patch)
treecebe9d73c0bdaed17e6d4ee3274584a0e241958c /configure.ac
parent09721cdade56cdc1460edee25c17257387c837f9 (diff)
downloadmate-desktop-8e81604f27ab1314b3a2ecc73b489ceee0d10fdb.tar.bz2
mate-desktop-8e81604f27ab1314b3a2ecc73b489ceee0d10fdb.tar.xz
Add utilities for dconf
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac16
1 files changed, 16 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index e430d41..130eeec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -144,6 +144,22 @@ AC_SUBST(GIO_REQUIRED)
AC_SUBST(XRANDR_REQUIRED)
dnl ----------------------------------------------------------------------------
+dnl DCONF
+dnl ----------------------------------------------------------------------------
+
+DCONF_NEW_REQUIRED=0.13.4
+DCONF_OLD_REQUIRED=0.10.0
+
+PKG_CHECK_MODULES([DCONF], [dconf >= $DCONF_NEW_REQUIRED],
+ [AC_DEFINE([HAVE_DCONF_0_13], [1], [Use DCONF >= $DCONF_NEW_REQUIRED])],
+ [PKG_CHECK_MODULES([DCONF], [dconf >= $DCONF_OLD_REQUIRED],
+ [AC_DEFINE([HAVE_DCONF_0_10], [1], [Use DCONF $DCONF_OLD_REQUIRED])
+ ])
+])
+AC_SUBST(DCONF_CFLAGS)
+AC_SUBST(DCONF_LIBS)
+
+dnl ----------------------------------------------------------------------------
dnl startup notification
dnl ----------------------------------------------------------------------------
STARTUP_NOTIFICATION_VERSION=0.5