diff options
author | unknown <monty@donna.mysql.com> | 2000-08-31 17:25:30 +0300 |
---|---|---|
committer | unknown <monty@donna.mysql.com> | 2000-08-31 17:25:30 +0300 |
commit | ae172fdcc0b77f28e1dc8c2f631e0d16aac086e6 (patch) | |
tree | 20cdc22382843d7f3d6ac921a4a5b15104a081e9 /acinclude.m4 | |
parent | 357167f2be19b03ed6f4c0a2674d9743d6785fd2 (diff) | |
download | mariadb-git-ae172fdcc0b77f28e1dc8c2f631e0d16aac086e6.tar.gz |
Update to get 3.23.23 to compile
acconfig.h:
Added better detection of compress
acinclude.m4:
Added better detection of compress
configure.in:
Added better detection of compress
include/my_pthread.h:
Fixed wrong prototype
mysys/my_pthread.c:
Added cast (for portability)
scripts/make_binary_distribution.sh:
Added missing conversion
sql-bench/compare-results.sh:
Update for new web site
sql/table.cc:
Removed extra free
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/acinclude.m4 b/acinclude.m4 index 4ed69bda027..a5fa77b24cc 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -116,6 +116,25 @@ then fi ]) +AC_DEFUN(MYSQL_CHECK_ZLIB_WITH_COMPRESS, [ +save_LIBS="$LIBS" +LIBS="-l$1 $LIBS" +AC_CACHE_CHECK([if libz with compress], mysql_cv_compress, +[AC_TRY_LINK([#include <zlib.h> +#ifdef __cplusplus +extern "C" +#endif +], +[ return compress(0, (unsigned long*) 0, "", 0); +], mysql_cv_compress=yes, mysql_cv_compress=no)]) +if test "$mysql_cv_compress" = "yes" +then + AC_DEFINE(HAVE_COMPRESS) +else + LIBS="$save_LIBS" +fi +]) + #---START: Used in for client configure AC_DEFUN(MYSQL_CHECK_ULONG, [AC_MSG_CHECKING(for type ulong) |