]> granicus.if.org Git - php/commitdiff
Remove --with-zlib-dir option from mysqlnd config
authorNikita Popov <nikita.ppv@gmail.com>
Thu, 5 Sep 2019 08:39:04 +0000 (10:39 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Thu, 5 Sep 2019 08:39:04 +0000 (10:39 +0200)
mysqlnd doesn't actually use this. PDO MySQL uses it, but also
declares it separately.

ext/mysqlnd/config9.m4

index fa5f856141dbd6d6d69021001232b1fac2a43b2a..4084c7250b7d92b73f37c87e4c5348cbdf01d2e7 100644 (file)
@@ -13,15 +13,6 @@ PHP_ARG_ENABLE([mysqlnd_compression_support],
   [yes],
   [no])
 
-if test -z "$PHP_ZLIB_DIR"; then
-  PHP_ARG_WITH([zlib-dir],
-    [for the location of libz],
-    [AS_HELP_STRING([[--with-zlib-dir[=DIR]]],
-      [mysqlnd: Set the path to libz install prefix])],
-    [no],
-    [no])
-fi
-
 dnl If some extension uses mysqlnd it will get compiled in PHP core
 if test "$PHP_MYSQLND" != "no" || test "$PHP_MYSQLND_ENABLED" = "yes"; then
   mysqlnd_ps_sources="mysqlnd_ps.c mysqlnd_ps_codec.c"