Mercurial > dovecot > original-hg > dovecot-1.2
changeset 2771:24c128e54337 HEAD
Use -lz always with mysql. Our previous check wasn't really working because
the later -lz check used cached failure.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 19 Oct 2004 00:52:10 +0300 |
parents | b69f441e3fa6 |
children | 7ac5ee00278c |
files | configure.in |
diffstat | 1 files changed, 2 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/configure.in Mon Oct 18 23:05:51 2004 +0300 +++ b/configure.in Tue Oct 19 00:52:10 2004 +0300 @@ -1154,13 +1154,9 @@ fi mysql_lib="" + LIBS="$LIBS -lz" AC_CHECK_LIB(mysqlclient, mysql_init, [ - mysql_lib="-lmysqlclient" - ], [ - LIBS="$LIBS -lz" - AC_CHECK_LIB(mysqlclient, mysql_init, [ - mysql_lib="-lmysqlclient -lz" - ]) + mysql_lib="-lmysqlclient -lz" ]) if test "$mysql_lib" != ""; then