depends  libole2-2    &&
depends  libgsf       &&
if [[ $GNUMERIC_DEVEL == y ]]; then
         depends goffice-dev &&
         depends rarian
else
         depends goffice
fi &&
depends  libxml2      &&

optional_depends  gtk+2                                \
                  "--with-gtk"                         \
                  "--without-gtk"                      \
                  "Build UI?"                          &&

optional_depends  libgnomeui                           \
                  "--with-gnome"                       \
                  "--without-gnome"                    \
                  "Build GNOME extensions?"            &&

optional_depends  perl                                 \
                  "--with-perl"                        \
                  "--without-perl"                     \
                  "Compile the Perl plugin loader?"    &&

optional_depends  psiconv                              \
                  "--with-psiconv"                     \
                  "--without-psiconv"                  \
                  "Compile with psiconv?"              &&

optional_depends  libgnomedb3                          \
                  "--with-gda"                         \
                  "--without-gda"                      \
                  "for database support"               &&

optional_depends  rarian                               \
                  ""                                   \
                  ""                                   \
                  "register with rarian"               &&

optional_depends  python                               \
                  "--with-python"                      \
                  "--without-python"                   \
                  "Compile the Python plugin loader?"
