DOLDA_PKG([HAS_LIBPURPLE], [PKG_CHECK_MODULES(PURPLE, purple, [], [HAS_LIBPURPLE=no])],
[DOLDA_CHECK_HEADER(plugin.h, [], [HAS_LIBPURPLE=no], $PURPLE_CFLAGS)])
+# Daemon check
+DOLDA_ENABLE(daemon, [ --enable-daemon Enable the daemon], yes, [])
+AM_CONDITIONAL(DAEMON, test "$enable_daemon" = yes)
+
# Gtk GUI check
DOLDA_ENABLE(gtk2ui, [ --enable-gtk2ui Enable the GTK2 user interface], yes,
[HAS_GTK2 HAS_LIBXML])
echo
echo "Dolda Connect has been configured with the following settings:"
echo
+echo " Daemon: $enable_daemon"
echo " PAM support: $pam_msg"
echo " Kerberos 5 support: $krb_msg"
echo " GTK2 user interface: $enable_gtk2ui"
+if DAEMON
man_MANS = doldacond.conf.5 doldacond.8
+endif
BUILT_SOURCES = doldacond.conf.5
doldacond.conf.5: doldacond.conf.5.in ../../daemon/*.c mkcvman