aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMichael Terry <michael.terry@canonical.com>2011-06-29 14:10:25 +0100
committerMichael Terry <michael.terry@canonical.com>2011-06-29 14:10:25 +0100
commit5d36567ca57ebd73e7a759c83542d19b2aa8814d (patch)
treea2caf07a27872e5736e27a7843a21bda24d31ba0 /configure.ac
parentf57128cae925df888e1e0cafb9ba988c665ecff8 (diff)
downloadayatana-indicator-datetime-5d36567ca57ebd73e7a759c83542d19b2aa8814d.tar.gz
ayatana-indicator-datetime-5d36567ca57ebd73e7a759c83542d19b2aa8814d.tar.bz2
ayatana-indicator-datetime-5d36567ca57ebd73e7a759c83542d19b2aa8814d.zip
port preferences to be a control-center panel
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 810bab0..be7f894 100644
--- a/configure.ac
+++ b/configure.ac
@@ -102,6 +102,7 @@ PKG_CHECK_MODULES(PREF, gio-2.0 >= $GIO_REQUIRED_VERSION
gtk+-3.0 >= $GTK3_REQUIRED_VERSION
unique-3.0
json-glib-1.0
+ libgnome-control-center
polkit-gobject-1)
PKG_CHECK_MODULES(LIBMAP, gio-2.0 >= $GIO_REQUIRED_VERSION
@@ -156,6 +157,20 @@ AC_SUBST(INDICATORDIR)
AC_SUBST(INDICATORICONSDIR)
###########################
+# Control Center Info
+###########################
+
+AS_IF([test "x$with_localinstall" = "xyes"],
+ [
+ CCPANELDIR="${libdir}/control-center-1/panels/"
+ ],
+ [
+ CCPANELDIR=`$PKG_CONFIG --variable=extensiondir libgnome-control-center`
+ ])
+
+AC_SUBST(CCPANELDIR)
+
+###########################
# DBus Service Info
###########################
@@ -216,4 +231,5 @@ Date and Time Indicator Configuration:
Prefix: $prefix
Indicator Dir: $INDICATORDIR
+ CC Panel Dir: $CCPANELDIR
])