[empathy] configure.ac: export a bunch of variables from UOA pc files



commit bd30ca4a72d7a44655df45cc2384280e63ada502
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Tue Jul 17 17:24:51 2012 +0200

    configure.ac: export a bunch of variables from UOA pc files

 configure.ac |   21 +++++++++++++++++++++
 1 files changed, 21 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index f4518ef..73ad611 100644
--- a/configure.ac
+++ b/configure.ac
@@ -514,6 +514,27 @@ if test "x$enable_ubuntu_online_accounts" != "xno"; then
        mission-control-plugins
        libaccounts-glib >= $LIBACCOUNTS_REQUIRED
     ], have_uoa="yes", have_uoa="no")
+
+   # provider plugin dir
+   AC_MSG_CHECKING([Accounts provider plugin dir])
+   ACCOUNTS_PROVIDER_PLUGIN_DIR=`pkg-config --variable=provider_plugindir account-plugin`
+
+   AC_MSG_RESULT([$ACCOUNTS_PROVIDER_PLUGIN_DIR])
+   AC_SUBST(ACCOUNTS_PROVIDER_PLUGIN_DIR)
+
+   # provider files dir
+   AC_MSG_CHECKING([Accounts provider files dir])
+   ACCOUNTS_PROVIDER_FILES_DIR=`pkg-config --variable=providerfilesdir libaccounts-glib`
+
+   AC_MSG_RESULT([$ACCOUNTS_PROVIDER_FILES_DIR])
+   AC_SUBST(ACCOUNTS_PROVIDER_FILES_DIR)
+
+   # service files dir
+   AC_MSG_CHECKING([Accounts service files dir])
+   ACCOUNTS_SERVICE_FILES_DIR=`pkg-config --variable=servicefilesdir libaccounts-glib`
+
+   AC_MSG_RESULT([$ACCOUNTS_SERVICE_FILES_DIR])
+   AC_SUBST(ACCOUNTS_SERVICE_FILES_DIR)
 else
    have_uoa=no
 fi



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]