From b1cd3a23322d9d1cea64c83ed330518dc0685991 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Tue, 12 Apr 2016 23:34:27 +0200 Subject: [PATCH] Make a few less used plugins optional The alsa-utils, dbus, lost (PID), resolvconf, and x11-common plugins are rarely used in the main use-case for Finit (embedded head-less systems). This patch disables them by default and makes them possible to enable by configure --enable-$PLUGIN switches. Signed-off-by: Joachim Nilsson --- configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/configure.ac b/configure.ac index 791999b6..c3a2a8e5 100644 --- a/configure.ac +++ b/configure.ac @@ -56,6 +56,14 @@ AC_ARG_ENABLE(inetd, AC_ARG_ENABLE(quiet, AS_HELP_STRING([--disable-quiet], [Disable quiet mode, default: silent after boot])) +# Check for extra plugins to enable +AC_PLUGIN([alsa-utils], [no], [Save and restore ALSA sound settings using alsactl]) +AC_PLUGIN([dbus], [no], [Setup and start system message bus, D-Bus]) +AC_PLUGIN([lost], [no], [Example HOOK_SVC_LOST plugin, very noisy as-is!]) +AC_PLUGIN([resolvconf], [no], [Setup necessary files for resolvconf]) +AC_PLUGIN([x11-common], [no], [Console setup (for X)]) + +# Check for extra arguments or packages AC_ARG_WITH(fifo, AS_HELP_STRING([--with-fifo=FIFO], [Old Finit initctl FIFO, default /dev/initctl]), [fifo=$withval], [fifo=/dev/initctl])