depends  e2fsprogs  &&
depends  gnupg      &&
depends  SSL    &&
depends  smgl-fhs   &&
depends  zlib       &&

optional_depends  "linux-pam"                              \
                  "--with-pam"                             \
                  ""                                       \
                  "for optional pluggable authentication"  &&

optional_depends  "krb5"                          \
                  "--with-kerberos5=/usr"         \
                  ""                              \
                  "to enable Kerberos 5 support" &&

optional_depends  "xauth"                    \
                  "--with-xauth="${INSTALL_ROOT}/usr/bin/xauth""   \
                  ""                              \
                  "X server auth (needed by X11Forwarding)" &&

if [ "${OPENSSH_LPK}" == "y" ]; then
  depends autoconf               &&
  optional_depends "openldap"    \
                   "--with-ldap" \
                   ""            \
                   "to support sshd checking LDAP for public keys"
fi
