depends libidn2 &&
depends libtool &&

case  ${CAUTHLIB_AUTHDB}  in
      db)    depends  db    "--with-db=db"
             ;;
      gdbm)  depends  gdbm  "--with-db=gdbm"
             ;;
esac

optional_depends  expect \
                  "" \
                  "" \
                  "to be able to authenticate against system login passwords" &&

optional_depends  linux-pam \
                  "" \
                  "--without-authpam" \
                  "to use PAM for authentication" &&

optional_depends  openldap \
                  "" \
                  "--without-authldap" \
                  "to use OpenLDAP for authentication" &&

optional_depends  MYSQL \
                  "" \
                  "--without-authmysql" \
                  "to use a MySQL database for authentication" &&

optional_depends  postgresql \
                  "" \
                  "--without-authpgsql" \
                  "to use a PostgrsSQL database for authentication"

