From: Peter Kokot Date: Sun, 7 Jul 2019 04:25:58 +0000 (+0200) Subject: Remove some more Apache 1 left overs X-Git-Tag: php-7.4.0alpha3~24 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=49cc2a63b31f9b749f1fb3b26f568ad87c3ff17d;p=php Remove some more Apache 1 left overs - warning in configure.ac is relevant for the sapi/apache - errors output redirected to /dev/null when checking Apache version --- diff --git a/build/php.m4 b/build/php.m4 index d35cb037a7..b53f10e2a5 100644 --- a/build/php.m4 +++ b/build/php.m4 @@ -2104,7 +2104,7 @@ AC_DEFUN([PHP_INSTALL_HEADERS],[ dnl dnl PHP_AP_EXTRACT_VERSION(/path/httpd) dnl -dnl This macro is used to get a comparable version for apache1/2. +dnl This macro is used to get a comparable version for Apache. dnl AC_DEFUN([PHP_AP_EXTRACT_VERSION],[ ac_output=`$1 -v 2>&1 | grep version | $SED -e 's/Oracle-HTTP-//'` diff --git a/configure.ac b/configure.ac index c4ee71b372..408e148fdd 100644 --- a/configure.ac +++ b/configure.ac @@ -1636,14 +1636,6 @@ if test -n "\$REDO_ALL"; then cli_extensions="$EXT_CLI_STATIC" sh $srcdir/build/genif.sh $srcdir/main/internal_functions.c.in $srcdir "$EXTRA_MODULE_PTRS" $AWK \$cli_extensions > main/internal_functions_cli.c - if test -n "$PHP_APXS_BROKEN"; then - echo "+--------------------------------------------------------------------+" - echo "| WARNING: Your $APXS script is most likely broken." - echo "| |" - echo "| Please go read http://www.php.net/faq.build#faq.build.apxs |" - echo "| and make the changes described there and try again. |" - fi - if test -n "$DEBUG_LOG"; then rm -f config.cache cat <= 2.0.44 is required]) fi @@ -113,7 +111,7 @@ if test "$PHP_APXS2" != "no"; then PHP_BUILD_THREAD_SAFE fi else - APACHE_THREADED_MPM=`$APXS_HTTPD -V | grep 'threaded:.*yes'` + APACHE_THREADED_MPM=`$APXS_HTTPD -V 2>/dev/null | grep 'threaded:.*yes'` if test -n "$APACHE_THREADED_MPM"; then PHP_BUILD_THREAD_SAFE fi