dovecot-2.1: configure: Make sure MYSQL_LIBS has -lmysqlclient e...

dovecot at dovecot.org dovecot at dovecot.org
Fri Oct 12 23:05:54 EEST 2012


details:   http://hg.dovecot.org/dovecot-2.1/rev/c8d55ba25f39
changeset: 14762:c8d55ba25f39
user:      Timo Sirainen <tss at iki.fi>
date:      Fri Oct 12 23:05:43 2012 +0300
description:
configure: Make sure MYSQL_LIBS has -lmysqlclient even if it's not explicitly found.

diffstat:

 configure.in |  1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diffs (11 lines):

diff -r a79e1a0040de -r c8d55ba25f39 configure.in
--- a/configure.in	Fri Oct 12 08:48:25 2012 +0300
+++ b/configure.in	Fri Oct 12 23:05:43 2012 +0300
@@ -2175,6 +2175,7 @@
   AC_CHECK_PROG(MYSQL_CONFIG, mysql_config, mysql_config, NO)
   if test $MYSQL_CONFIG = NO; then
 	# based on code from PHP
+	MYSQL_LIBS="-lmysqlclient -lz -lm"
 	for i in /usr /usr/local /usr/local/mysql; do
 		for j in include include/mysql ""; do
 			if test -r "$i/$j/mysql.h"; then


More information about the dovecot-cvs mailing list