depends  g++                                                                 &&
depends  nspr    '--with-system-nspr'                                        &&
depends  nss     '--with-system-nss'                                         &&
depends  zlib    '--with-system-zlib'                                        &&
depends  jpeg    '--with-system-jpeg'                                        &&
depends  libidl                                                              &&
depends  libpng  '--with-system-png'                                         &&
depends  libmng  '--with-system-mng'                                         &&
depends  perl                                                                &&
depends  zip                                                                 &&
depends  gtk+2                                                               \
         '--enable-xft  --disable-freetype2  --enable-default-toolkit=gtk2'  &&
#
# LDAP support doesn't work (fails to build)
#
#optional_depends  openldap            \
#                  "--enable-ldap"     \
#                  "--disable-ldap"    \
#                  "for LDAP support"  &&

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

optional_depends  cairo                                  \
                  "--enable-system-cairo                 \
                   --enable-default-toolkit=cairo-gtk2"  \
                  ""                                     \
                  "for native SVG rendering"             &&

optional_depends  startup-notification  \
                  '--enable-startup-notification' \
                  '--disable-startup-notification' \
                  'for startup notifications'      &&

optional_depends  'wireless_tools' \
                  '--enable-necko-wifi' \
                  '--disable-necko-wifi' \
                  'for Necko WiFi scanning'
