aboutsummaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorMichael Terry <michael.terry@canonical.com>2011-05-26 13:32:22 -0400
committerMichael Terry <michael.terry@canonical.com>2011-05-26 13:32:22 -0400
commit484079b4061417c109412be824bbadfea71d6110 (patch)
tree62e7ca684d7f03ad3567a676fa39b17a92059585 /configure.ac
parentba6c0b194bd2072f98574a22db89a8dfe93734e5 (diff)
downloadayatana-indicator-application-484079b4061417c109412be824bbadfea71d6110.tar.gz
ayatana-indicator-application-484079b4061417c109412be824bbadfea71d6110.tar.bz2
ayatana-indicator-application-484079b4061417c109412be824bbadfea71d6110.zip
use indicator3 path if using gtk3
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index d29a293..fe60d2a 100644
--- a/configure.ac
+++ b/configure.ac
@@ -93,9 +93,12 @@ AC_ARG_ENABLE(localinstall, AS_HELP_STRING([--enable-localinstall], [install all
if test "x$with_localinstall" = "xyes"; then
INDICATORDIR="${libdir}/indicators/2/"
INDICATORICONSDIR="${datadir}/libindicate/icons/"
-else
+elif test "x$with_gtk" = x2; then
INDICATORDIR=`$PKG_CONFIG --variable=indicatordir indicator`
INDICATORICONSDIR=`$PKG_CONFIG --variable=iconsdir indicator`
+else
+ INDICATORDIR=`$PKG_CONFIG --variable=indicatordir indicator3`
+ INDICATORICONSDIR=`$PKG_CONFIG --variable=iconsdir indicator3`
fi
AC_SUBST(INDICATORDIR)
AC_SUBST(INDICATORICONSDIR)