summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRegis Merlino <regis.merlino@intel.com>2013-04-10 16:57:59 +0200
committerMark Ryan <mark.d.ryan@intel.com>2013-04-11 13:20:15 +0200
commit109e19e16a6988ac107351df004305ca7d4afe52 (patch)
treef0238c8dfd5fb9a30a313e507aa21b888ad8f535
parent365931a6a2470c394f245c38e2c018784f28f5b3 (diff)
downloaddleyna-renderer-109e19e16a6988ac107351df004305ca7d4afe52.tar.gz
[Configure] Check for the dbus connector lib availability if required
Signed-off-by: Regis Merlino <regis.merlino@intel.com>
-rw-r--r--configure.ac7
1 files changed, 4 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 6132a42..6b89756 100644
--- a/configure.ac
+++ b/configure.ac
@@ -193,15 +193,16 @@ AC_ARG_ENABLE(lib-only,
[],
[enable_lib_only=no])
-AS_IF([test "x$[]enable_lib_only" = "xno"],
+AS_IF([test "x$enable_lib_only" = "xno"],
[PKG_CHECK_MODULES([DBUS], [dbus-1],
[DBUS_SESSION_DIR=`$PKG_CONFIG --variable=session_bus_services_dir dbus-1`;
AC_SUBST(DBUS_SESSION_DIR)
],
- [enable_lib_only=yes])
+ [enable_lib_only=yes]);
+ PKG_CHECK_MODULES([DLEYNA_CONNECTOR_DBUS], [dleyna-connector-dbus-1.0])
])
-AM_CONDITIONAL([BUILD_SERVER], [test "x$[]enable_lib_only" = "xno"])
+AM_CONDITIONAL([BUILD_SERVER], [test "x$enable_lib_only" = "xno"])
AC_DEFINE([DLEYNA_SERVER_OBJECT], "/com/intel/dLeynaRenderer", [Name of object exposed by dleyna-renderer])