From 3a1995275e31d4211e3dc5a5c696ecb5ed42437f Mon Sep 17 00:00:00 2001 From: Peter Clifton Date: Mon, 10 May 2010 23:02:01 +0100 Subject: [PATCH] Make --enable-dbus default for the GTK and Lesstif HIDs --- configure.ac | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 4e9476d9..a220a827 100644 --- a/configure.ac +++ b/configure.ac @@ -353,7 +353,13 @@ fi AC_MSG_CHECKING([for whether to use DBUS]) AC_ARG_ENABLE([dbus], [ --enable-dbus Enable DBUS IPC], -[],[enable_dbus=no]) +[],[ + case " $with_gui " in + *\ gtk\ *) enable_dbus=yes ;; + *\ lesstif\ *) enable_dbus=yes ;; + * ) enable_dbus=no ;; + esac +]) AC_MSG_RESULT([$enable_dbus]) AM_CONDITIONAL(WITH_DBUS, test x$enable_dbus = xyes) -- 2.11.4.GIT