+# Gtk GUI check
+DOLDA_ENABLE(gtk2ui, [ --enable-gtk2ui Enable the GTK2 user interface], yes,
+ [HAS_GTK2 HAS_LIBBZ2 HAS_LIBXML])
+AM_CONDITIONAL(CLI_GTK2, test "$enable_gtk2ui" = yes)
+
+# Dolconf check
+DOLDA_ENABLE(dolconf, [ --enable-dolconf Build the configuration helper], yes,
+ [HAS_GTK2], [HAS_GTK2ASS])
+AM_CONDITIONAL(DOLCONF, test "$enable_dolconf" = yes)
+
+# GUI shell check
+DOLDA_ENABLE(guishell, [ --enable-guishell Build the GUI shell programs], yes,
+ [HAS_GTK2], [HAS_GTK2SI])
+AM_CONDITIONAL(GUISHELL, test "$enable_guishell" = yes)
+
+# Gnome applet check
+DOLDA_ENABLE(gnomeapplet, [ --enable-gnomeapplet Enable GNOME transfer applet], no,
+ [HAS_LIBPANELAPPLET])
+AM_CONDITIONAL(CLI_GNOMEAPPLET, test "$enable_gnomeapplet" = yes)
+
+# Gaim plugin check
+gaimplugin_msg=
+DOLDA_ENABLE(gaimplugin, [ --enable-gaimplugin Enable Gaim chat plugin], no,
+ [HAS_LIBGAIM])
+if test "$enable_gaimplugin" = yes; then
+ gaimplugin_msg="Gaim $gaimplugin_msg"
+fi
+AM_CONDITIONAL(CLI_GAIM, test "$enable_gaimplugin" = yes)
+DOLDA_ENABLE(pidginplugin, [ --enable-pidginplugin Enable Pidgin chat plugin], no,
+ [HAS_LIBPURPLE])
+if test "$enable_pidginplugin" = yes; then
+ gaimplugin_msg="Pidgin $gaimplugin_msg"
+fi
+AM_CONDITIONAL(CLI_PIDGIN, test "$enable_pidginplugin" = yes)
+if test -z "$gaimplugin_msg"; then
+ gaimplugin_msg=none
+fi
+
+# Guile check (XXX: Shouldn't have to be enabled manually)
+enable_guile=no