From 5d36567ca57ebd73e7a759c83542d19b2aa8814d Mon Sep 17 00:00:00 2001 From: Michael Terry Date: Wed, 29 Jun 2011 14:10:25 +0100 Subject: port preferences to be a control-center panel --- configure.ac | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'configure.ac') 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 @@ -155,6 +156,20 @@ AS_IF([test "x$with_localinstall" = "xyes"], 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 ]) -- cgit v1.2.3