summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorkonstantin@mysql.com <>2004-11-04 21:26:36 +0300
committerkonstantin@mysql.com <>2004-11-04 21:26:36 +0300
commit31962735902dfee0c8983af504c024926f7d3824 (patch)
tree143606925947cff5d45510f81b8297bdbcbf76f6 /acinclude.m4
parentaa391cebb2498aec2542608895658d71aa3e0a10 (diff)
downloadmariadb-git-31962735902dfee0c8983af504c024926f7d3824.tar.gz
Fix for Bug#6408 "configure checking for custom zlib fails because
code check is wrong".
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index 7f25b447f10..671e279a9f3 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -208,7 +208,7 @@ INCLUDES="$INCLUDES $ZLIB_INCLUDES"
LIBS="$LIBS $ZLIB_LIBS"
AC_CACHE_VAL([mysql_cv_compress],
[AC_TRY_LINK([#include <zlib.h>],
- [int link_test() { return compress(0, (unsigned long*) 0, "", 0); }],
+ [return compress(0, (unsigned long*) 0, "", 0);],
[mysql_cv_compress="yes"
AC_MSG_RESULT([ok])],
[mysql_cv_compress="no"])