add WITHOUT_PGSQL flag

This commit is contained in:
Hung Tran
2021-04-13 11:19:55 -05:00
parent a76e758dfa
commit c9f5f06583

View File

@@ -135,7 +135,6 @@ construct_configure_options() {
--with-mysql=mysqlnd \
--with-mysqli=mysqlnd \
--with-pdo-mysql=mysqlnd \
--with-pdo-pgsql \
--with-xmlrpc \
--with-zip \
--with-zlib \
@@ -159,6 +158,12 @@ construct_configure_options() {
configure_options="$configure_options --with-pear"
fi
if [ "${PHP_WITHOUT_PGSQL:-no}" != "no" ]; then
configure_options="$configure_options"
else
configure_options="$configure_options --with-pdo-pgsql"
fi
echo "$configure_options"
}