depends pcre
depends libxml2
depends libgd
depends enchant
depends libzip
depends icu4c

optional_depends expat \
                "--with-expat" "--without-expat" \
                "for XML support with expat instead of libxml2"

optional_depends libsodium \
                "--with-sodium=shared" "--without-sodium" \
                "for support with libsodium"

optional_depends gettext \
                 "--with-gettext=shared" "" \
                 "for GNU gettext support"

optional_depends libedit \
                 "--with-libedit" "--without-libedit" \
                 "for libedit readline replacement (CLI/CGI only)"

optional_depends readline \
                 "--with-readline" "" \
                 "for readline support"

optional_depends gmp \
                 "--with-gmp=shared" "" \
                 "GNU math lib support"

optional_depends %OSSL \
                 "--with-openssl" "" \
                 "for SSL support"

optional_depends gdbm \
                 "--with-gdbm" "" \
                 "for GNU dbm support"

optional_depends db \
                 "--with-db4=/usr" "" \
                 "for Berkeley DB4 support"

optional_depends sqlite \
                 "--with-sqlite3=shared,/usr --with-pdo-sqlite=shared,/usr" \
                 "--without-sqlite3 --without-pdo-sqlite" \
                 "for PDO SQLite support"

optional_depends %MYSQL \
                 "--with-mysqli=shared,mysqlnd --with-pdo-mysql=shared,mysqlnd" "" \
                 "for native MySQL support"

optional_depends postgresql \
                 "--with-pgsql=shared --with-pdo-pgsql=shared" \
                 "--without-pgsql --without-pdo-pgsql" \
                 "for PostgreSQL support"

optional_depends unixODBC \
                 "--with-unixODBC=shared,/usr --with-pdo-odbc=shared,unixODBC,/usr" "" \
                 "for unixODBC support"

optional_depends freetype2 \
                 "--with-freetype" "--without-freetype" \
                 "for freetype2 support"

optional_depends curl \
                 "--with-curl=shared" "" \
                 "for cURL support"

optional_depends libxslt \
                 "--with-xsl=shared,/usr" "" \
                 "for DOM XSLT support"

optional_depends openldap \
                 "--with-ldap=shared" "" \
                 "for ldap support"

optional_depends bzip2 \
                 "--with-bz2=shared" "" \
                 "for bzip2 support"

optional_depends httpd \
                 "--with-apxs2" "" \
                 "To build the apache2 DSO"

optional_depends tidy \
                 "--with-tidy" "--without-tidy" \
                 "for the tidy class and functions"

optional_depends libffi \
                 "--with-ffi" "--without-ffi" \
                 "for the FFI functions and data types"
