dovecot-1.2: Check that libbz2 has correct functions. Old versio...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Jul 21 16:00:19 EEST 2008
details: http://hg.dovecot.org/dovecot-1.2/rev/8afc9ddd723e
changeset: 8046:8afc9ddd723e
user: Timo Sirainen <tss at iki.fi>
date: Mon Jul 21 15:59:33 2008 +0300
description:
Check that libbz2 has correct functions. Old versions had different names.
diffstat:
1 file changed, 5 insertions(+), 3 deletions(-)
configure.in | 8 +++++---
diffs (18 lines):
diff -r f0ca5110b99d -r 8afc9ddd723e configure.in
--- a/configure.in Mon Jul 21 03:21:25 2008 +0300
+++ b/configure.in Mon Jul 21 15:59:33 2008 +0300
@@ -2236,9 +2236,11 @@ AM_CONDITIONAL(BUILD_ZLIB, test "$have_z
AM_CONDITIONAL(BUILD_ZLIB, test "$have_zlib" = "yes")
AC_CHECK_HEADER(bzlib.h, [
- have_bzlib=yes
- have_zlib_plugin=yes
- AC_DEFINE(HAVE_BZLIB,, Define if you have zlib library)
+ AC_CHECK_LIB(bz2, BZ2_bzdopen, [
+ have_bzlib=yes
+ have_zlib_plugin=yes
+ AC_DEFINE(HAVE_BZLIB,, Define if you have zlib library)
+ ])
])
AM_CONDITIONAL(BUILD_BZLIB, test "$have_bzlib" = "yes")
AM_CONDITIONAL(BUILD_ZLIB_PLUGIN, test "$have_zlib_plugin" = "yes")
More information about the dovecot-cvs
mailing list