Merge pull request #68 from susurri/gmp

feat: make gmp flag configurable
This commit is contained in:
Sora Morimoto
2020-12-02 11:48:38 +09:00
committed by GitHub

View File

@@ -90,7 +90,6 @@ construct_configure_options() {
--with-xmlrpc \
--with-zip \
--with-zlib \
--without-gmp \
--without-snmp"
if [ "$PHP_CONFIGURE_OPTIONS" = "" ]; then
@@ -99,6 +98,12 @@ construct_configure_options() {
local configure_options="$PHP_CONFIGURE_OPTIONS $global_config"
fi
if [ "${PHP_WITH_GMP:-no}" != "no" ]; then
configure_options="$configure_options --with-gmp"
else
configure_options="$configure_options --without-gmp"
fi
if [ "${PHP_WITHOUT_PEAR:-no}" != "no" ]; then
configure_options="$configure_options --without-pear"
else