]> granicus.if.org Git - php/commitdiff
Remove dead code from configure.ac
authorPeter Kokot <peterkokot@gmail.com>
Tue, 7 May 2019 02:05:14 +0000 (04:05 +0200)
committerPeter Kokot <peterkokot@gmail.com>
Thu, 9 May 2019 22:44:09 +0000 (00:44 +0200)
SAPI apache has been removed and now there is apache2handler so this
warning hasn't been used for a while.

configure.ac

index 80628a5df1eb4a9fb85352168fb4d74a4b1e43f8..13fc7f129e8b82b4e86b93d7fd00dfd68eaf52e2 100644 (file)
@@ -1690,21 +1690,8 @@ X
       fi
     fi
 
-  # Warn about linking Apache with libpthread if oci8 extension is enabled on linux.
+  # Warn about Apache if oci8 extension is enabled on linux.
   if test "$PHP_OCI8" != "no"; then
-    if test "$PHP_SAPI" = "apache"; then
-      if test `uname` = "Linux"; then
-cat <<X
-+--------------------------------------------------------------------+
-|                        *** WARNING ***                             |
-|                                                                    |
-| Please check that your Apache (httpd) is linked with libpthread.   |
-| If not, you have to recompile Apache with pthread. For more        |
-| details, see this page: http://www.php.net/manual/ref.oci8.php     |
-X
-      fi
-    fi
-
     if test "$PHP_SIGCHILD" != "yes"; then
       if test "$PHP_OCI8_INSTANT_CLIENT" = "no"; then
 cat <<X