[glib/wip/kdbus-junk: 6/37] [kdbus] Add "--enable-kdbus" configure switch
- From: Ryan Lortie <desrt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/wip/kdbus-junk: 6/37] [kdbus] Add "--enable-kdbus" configure switch
- Date: Wed, 10 Dec 2014 15:57:41 +0000 (UTC)
commit 95a3a2ebf73d5e14074508d224037a5ffd00cf97
Author: Lukasz Skalski <l skalski samsung com>
Date: Mon Sep 29 17:01:06 2014 +0200
[kdbus] Add "--enable-kdbus" configure switch
Change-Id: Id22e381c0d9dd9cda194ac8a3a03a1d1362a13ca
configure.ac | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 2703a32..5bccf55 100644
--- a/configure.ac
+++ b/configure.ac
@@ -245,6 +245,10 @@ AC_ARG_ENABLE(rebuilds,
[AS_HELP_STRING([--disable-rebuilds],
[disable all source autogeneration rules])],,
[enable_rebuilds=yes])
+AC_ARG_ENABLE(kdbus,
+ [AS_HELP_STRING([--enable-kdbus],
+ [enable kdbus [default=no]])],,
+ [enable_kdbus=no])
GLIB_TESTS
@@ -262,6 +266,13 @@ AS_IF([test "x$disable_mem_pools" = "xno"], [
AC_MSG_RESULT([yes])
])
+AC_MSG_CHECKING([whether to enable kdbus])
+AM_CONDITIONAL(KDBUS_TRANSPORT, [test "x$enable_kdbus" = "xyes"])
+AS_IF([test "x$enable_kdbus" = "xyes"], [
+ AC_DEFINE(KDBUS_TRANSPORT, 1, [Whether to enable kdbus])
+ AC_MSG_RESULT([yes])
+], [ AC_MSG_RESULT([no]) ])
+
dnl location to install runtime libraries, e.g. ../../lib to install
dnl to /lib if libdir is /usr/lib
AC_ARG_WITH(runtime-libdir,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]