mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
Check for zlib with a zzlibCompileFlags() function in config/ac-macros/zlib.m4.
(Patch provided by serg) config/ac-macros/zlib.m4: Check for zlib with a zzlibCompileFlags() function. This makes it pick the bundled zlib if there's an old installed version (which wouldn't work).
This commit is contained in:
parent
e8b14c4dbb
commit
6eacc236da
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ INCLUDES="$INCLUDES $ZLIB_INCLUDES"
|
|||
LIBS="$LIBS $ZLIB_LIBS"
|
||||
AC_CACHE_VAL([mysql_cv_compress],
|
||||
[AC_TRY_LINK([#include <zlib.h>],
|
||||
[return compress(0, (unsigned long*) 0, "", 0);],
|
||||
[return zlibCompileFlags();],
|
||||
[mysql_cv_compress="yes"
|
||||
AC_MSG_RESULT([ok])],
|
||||
[mysql_cv_compress="no"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue