# only allow dependency if glib2 is installed, otherwise a cycle is created
if spell_ok glib2; then
   optional_depends  glib2                       \
                  "--with-installed-glib"        \
                  "--without-installed-glib"     \
                  "to use system GLib"
fi
