From: Dmitry Stogov Date: Tue, 17 Sep 2019 12:43:00 +0000 (+0300) Subject: Fixed CLI/CGI/FPM build, when they are built together with Apache SAPI X-Git-Tag: php-7.4.0RC2~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=db094b4b2e5ef0f0c30f412ce3a2516e31e17da7;p=php Fixed CLI/CGI/FPM build, when they are built together with Apache SAPI --- diff --git a/configure.ac b/configure.ac index 8f19fe0e60..a522bdc2b5 100644 --- a/configure.ac +++ b/configure.ac @@ -1103,7 +1103,9 @@ enable_static=yes case $php_sapi_module in shared[)] - enable_static=no + if test "$PHP_CGI" = "no" && test "$PHP_CLI" = "no" && test "$PHP_FPM" = "no" && test "$PHP_LITESPEED" = "no" && test "$PHP_PHPDBG" = "no"; then + enable_static=no + fi case $with_pic in yes) standard_libtool_flag='-prefer-pic'