[dovecot-cvs] dovecot configure.in,1.187,1.188

cras at dovecot.org cras at dovecot.org
Tue Oct 19 00:52:13 EEST 2004


Update of /var/lib/cvs/dovecot
In directory talvi:/tmp/cvs-serv13862

Modified Files:
	configure.in 
Log Message:
Use -lz always with mysql. Our previous check wasn't really working because
the later -lz check used cached failure.



Index: configure.in
===================================================================
RCS file: /var/lib/cvs/dovecot/configure.in,v
retrieving revision 1.187
retrieving revision 1.188
diff -u -d -r1.187 -r1.188
--- configure.in	18 Oct 2004 01:13:25 -0000	1.187
+++ configure.in	18 Oct 2004 21:52:10 -0000	1.188
@@ -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



More information about the dovecot-cvs mailing list