Mercurial > dovecot > original-hg > dovecot-1.2
diff configure.in @ 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 | 26a091f3add6 |
children | 12ac68531a3a |
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