mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Remove MYSQLND_COMPRESSION_WANTED define
Instead directly define MYSQLND_COMPRESSION_ENABLED. This also matches what config.w32 does.
This commit is contained in:
parent
fc458eee3b
commit
4984bd100b
2 changed files with 1 additions and 5 deletions
|
@ -27,7 +27,7 @@ if test "$PHP_MYSQLND" != "no" || test "$PHP_MYSQLND_ENABLED" = "yes"; then
|
||||||
PKG_CHECK_MODULES([ZLIB], [zlib])
|
PKG_CHECK_MODULES([ZLIB], [zlib])
|
||||||
PHP_EVAL_LIBLINE($ZLIB_LIBS, MYSQLND_SHARED_LIBADD)
|
PHP_EVAL_LIBLINE($ZLIB_LIBS, MYSQLND_SHARED_LIBADD)
|
||||||
PHP_EVAL_INCLINE($ZLIB_CFLAGS)
|
PHP_EVAL_INCLINE($ZLIB_CFLAGS)
|
||||||
AC_DEFINE([MYSQLND_COMPRESSION_WANTED], 1, [Enable compressed protocol support])
|
AC_DEFINE([MYSQLND_COMPRESSION_ENABLED], 1, [Enable compressed protocol support])
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AC_DEFINE([MYSQLND_SSL_SUPPORTED], 1, [Enable core mysqlnd SSL code])
|
AC_DEFINE([MYSQLND_SSL_SUPPORTED], 1, [Enable core mysqlnd SSL code])
|
||||||
|
|
|
@ -46,10 +46,6 @@
|
||||||
#define MYSQLND_DBG_ENABLED 0
|
#define MYSQLND_DBG_ENABLED 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(MYSQLND_COMPRESSION_WANTED)
|
|
||||||
#define MYSQLND_COMPRESSION_ENABLED 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef ZTS
|
#ifdef ZTS
|
||||||
#include "TSRM.h"
|
#include "TSRM.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue