Commit 293bfe64 authored by unknown's avatar unknown

Fixing MYSQL_CHEKC_ZLIB_DIR to take into account user settings (in case there

are such)
parent 1fd322a1
...@@ -183,8 +183,8 @@ dnl Auxiliary macro to check for zlib at given path ...@@ -183,8 +183,8 @@ dnl Auxiliary macro to check for zlib at given path
AC_DEFUN([MYSQL_CHECK_ZLIB_DIR], [ AC_DEFUN([MYSQL_CHECK_ZLIB_DIR], [
save_INCLUDES="$INCLUDES" save_INCLUDES="$INCLUDES"
save_LIBS="$LIBS" save_LIBS="$LIBS"
INCLUDES="$ZLIB_INCLUDES" INCLUDES="$INCLUDES $ZLIB_INCLUDES"
LIBS="$ZLIB_LIBS" LIBS="$LIBS $ZLIB_LIBS"
AC_CACHE_VAL([mysql_cv_compress], AC_CACHE_VAL([mysql_cv_compress],
[AC_TRY_LINK([#include <zlib.h>], [AC_TRY_LINK([#include <zlib.h>],
[int link_test() { return compress(0, (unsigned long*) 0, "", 0); }], [int link_test() { return compress(0, (unsigned long*) 0, "", 0); }],
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment