summaryrefslogtreecommitdiff
path: root/ext/mysqlnd/config9.m4
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysqlnd/config9.m4')
-rw-r--r--ext/mysqlnd/config9.m43
1 files changed, 3 insertions, 0 deletions
diff --git a/ext/mysqlnd/config9.m4 b/ext/mysqlnd/config9.m4
index 4084c7250b..5c01ed762f 100644
--- a/ext/mysqlnd/config9.m4
+++ b/ext/mysqlnd/config9.m4
@@ -24,6 +24,9 @@ if test "$PHP_MYSQLND" != "no" || test "$PHP_MYSQLND_ENABLED" = "yes"; then
if test "$PHP_MYSQLND_COMPRESSION_SUPPORT" != "no"; then
+ PKG_CHECK_MODULES([ZLIB], [zlib])
+ PHP_EVAL_LIBLINE($ZLIB_LIBS, MYSQLND_SHARED_LIBADD)
+ PHP_EVAL_INCLINE($ZLIB_CFLAGS)
AC_DEFINE([MYSQLND_COMPRESSION_WANTED], 1, [Enable compressed protocol support])
fi