depends  g++                   &&
depends  zip                   &&
depends  glib2                 &&
depends  xorg-libs  "--with-x"  &&

case $ICECAT_RENDER in
  cairo) depends  cairo  ;;
  libart) depends  libart_lgpl  ;;
  *) true  ;;
esac                           &&

case $ICECAT_TOOLKIT in
  gtk) depends gtk+  ;;
  gtk2) depends gtk+2 ;;
  qt-x11) depends qt-x11 ;;
  *) true ;;
  
esac                 	      &&

optional_depends  libxft             \
                  ""                 \
                  "--disable-xft"    \
                  "for Xft support"  &&

optional_depends  libxinerama             \
                  "--enable-xinerama"     \
                  ""                      \
                  "for Xinerama support"

optional_depends  freetype2                \
                  ""                       \
                  "--disable-freetype2"    \
                  "for FreeType2 support"  &&

optional_depends  gnome-vfs2              \
                  ""                      \
                  "--disable-gnomevfs"    \
                  "for GnomeVFS support"  &&

optional_depends  jpeg                  \
                  "--with-system-jpeg"  \
                  ""                    \
                  "for system jpeg"     &&

optional_depends  libgnomeui                \
                  ""                        \
                  "--disable-gnomeui"       \
                  "for libgnomeui support"  &&

optional_depends  libpng               \
                  "--with-system-png"  \
                  ""                   \
                  "for system png"     &&

optional_depends  nspr                  \
                  "--with-system-nspr"  \
                  ""                    \
                  "for system NSPR"     &&

optional_depends  openldap            \
                  ""                  \
                  "--disable-ldap"    \
                  "for LDAP support"  &&

optional_depends  pango                               \
                  "--enable-pango"                    \
                  ""                                  \
                  "for Pango font rendering support"  &&

optional_depends  POSTSCRIPT-INTERPRETER             \
                  ""                                 \
                  "--disable-postscript"             \
                  "for PostScript printing support"  &&

optional_depends  zlib                  \
                  "--with-system-zlib"  \
                  ""                    \
                  "for system libz"
