depends  zlib         &&
depends  gdbm         &&
depends  db           &&
depends  xemacs-base  &&
depends  efs

if  [  "${XEMACS_GTK}" == "y"  ] ; then
    depends gtk+
else
    optional_depends  "lesstif"                                          \
                      ""                                                 \
                      "--enable-dialogs=athena  --enable-widgets=athena" \
                      "for OSF/Motif standard GUI"
fi &&

optional_depends  "libpng"                             \
                  "--with-png"                         \
                  "--without-png"                      \
                  "for PNG support (best to say yes)"  &&

optional_depends  "jpeg"              \
                  "--with-jpeg"       \
                  "--without-jpeg"    \
                  "for JPEG support"  &&

optional_depends  "tiff"              \
                  "--with-tiff"       \
                  "--without-tiff"    \
                  "for TIFF support"  &&

optional_depends  "compface"                                          \
                  "--with-xface"                                      \
                  "--without-xface"                                   \
                  "for X-Face mail headers (Of doubtful usefulness)"  &&

optional_depends  "ncurses"                         \
                  "--with-ncurses  --with-tty=yes"  \
                  "--without-ncurses"               \
                  "for ncurses-based TTY support"   &&

optional_depends  "gpm"                             \
                  "--with-gpm"                      \
                  "--without-gpm"                   \
                  "for GPM mouse support for ttys"  &&

optional_depends  "openldap"                   \
                  "--with-ldap"                \
                  "--without-ldap"             \
                  "for LDAP protocol support"  &&

optional_depends  "postgresql"              \
                  "--with-postgresql"       \
                  "--without-postgresql"    \
                  "for PostgreSQL support"  &&

optional_depends  "krb5"                                     \
                  "--with-kerberos"                          \
                  "--without-kerberos"                       \
                  "for Kerberos5 authenticated POP support"
