diff options
author | Kay Sievers <kay@vrfy.org> | 2015-06-17 19:06:13 +0200 |
---|---|---|
committer | Kay Sievers <kay@vrfy.org> | 2015-06-17 19:06:13 +0200 |
commit | 633f2d59edeb3aa9cf88454780d55fac2e4dbe8d (patch) | |
tree | 18a6a29c7d5f6dd0e5af54a7859898d96c78601d /configure.ac | |
parent | 14f494c710bec8fcbadb5f46a9c25b9ebf367f19 (diff) | |
parent | 1b09f548c7f303b486b5b1321c06336bff72ada4 (diff) |
Merge pull request #263 from kaysievers/wip
turn kdbus support into a runtime option
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac index b94dbd1613..e5d3994439 100644 --- a/configure.ac +++ b/configure.ac @@ -1203,9 +1203,9 @@ AM_CONDITIONAL(ENABLE_TERMINAL, [test "x$have_terminal" = "xyes" -a "x$have_unif # ------------------------------------------------------------------------------ have_kdbus=no -AC_ARG_ENABLE(kdbus, AS_HELP_STRING([--enable-kdbus], [do connect to kdbus by default])) -if test "x$enable_kdbus" = "xyes"; then - AC_DEFINE(ENABLE_KDBUS, 1, [Define if kdbus support is to be enabled]) +AC_ARG_ENABLE(kdbus, AS_HELP_STRING([--disable-kdbus], [do not connect to kdbus by default])) +if test "x$enable_kdbus" != "xno"; then + AC_DEFINE(ENABLE_KDBUS, 1, [Define if kdbus is to be connected to by default]) have_kdbus=yes M4_DEFINES="$M4_DEFINES -DENABLE_KDBUS" fi |