diff options
author | pem@mysql.com <> | 2005-11-21 16:05:40 +0100 |
---|---|---|
committer | pem@mysql.com <> | 2005-11-21 16:05:40 +0100 |
commit | 7b78489e2d0247191aa31d96a06961659bcf408d (patch) | |
tree | 08ce7b6cf919fc6a59ddebd8fcc668f27704634a /config | |
parent | d741ce90171c2e1186efbbdcaa4ed2cc78745a3d (diff) | |
download | mariadb-git-7b78489e2d0247191aa31d96a06961659bcf408d.tar.gz |
Check for zlib with a zzlibCompileFlags() function in config/ac-macros/zlib.m4.
(Patch provided by serg)
Diffstat (limited to 'config')
-rw-r--r-- | config/ac-macros/zlib.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/ac-macros/zlib.m4 b/config/ac-macros/zlib.m4 index 22cf9542cf0..ec55f19b98f 100644 --- a/config/ac-macros/zlib.m4 +++ b/config/ac-macros/zlib.m4 @@ -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"]) |