#depends  libtool  &&

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

optional_depends  expect                                             \
                  ""                                                 \
                  "--without-authpwd  --without-authshadow"          \
                  "to be able to change 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"

