aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-06-10 09:52:00 -0500
committerTed Gould <ted@canonical.com>2009-06-10 09:52:00 -0500
commit0909c13dac683fe593e32fedbb682309aabd1a08 (patch)
treedfa5d0de6053748053c0e96237b9302f57658660
parent4a3887142581168e9eda220bd22c1b9f10073fd1 (diff)
downloadayatana-indicator-session-0909c13dac683fe593e32fedbb682309aabd1a08.tar.gz
ayatana-indicator-session-0909c13dac683fe593e32fedbb682309aabd1a08.tar.bz2
ayatana-indicator-session-0909c13dac683fe593e32fedbb682309aabd1a08.zip
Adding in the DBus services directory with localinstall support
-rw-r--r--configure.ac11
1 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 4d656c5..d299a0d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -67,6 +67,17 @@ fi
AC_SUBST(INDICATORDIR)
###########################
+# DBus Service Info
+###########################
+
+if test "x$with_localinstall" = "xyes"; then
+ DBUSSERVICEDIR="${datadir}/dbus-1/services/"
+else
+ DBUSSERVICEDIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`
+fi
+AC_SUBST(DBUSSERVICEDIR)
+
+###########################
# Files
###########################