+# Dolconf check
+dolconf_msg=No
+AC_ARG_ENABLE(dolconf, [ --enable-dolconf Build the configuration helper])
+if test "$enable_dolconf" = yes -a "$HAS_GTK2" = no; then
+ AC_MSG_ERROR([*** cannot build dolconf without GTK2])
+fi
+if test "$enable_dolconf" != no -a "$HAS_GTK2" = yes; then
+ AM_CONDITIONAL(DOLCONF, true)
+ dolconf_msg=Yes
+else
+ AM_CONDITIONAL(DOLCONF, false)
+fi
+