dovecot-2.0: configure: Don't use spaces after -I and -L compile...

dovecot at dovecot.org dovecot at dovecot.org
Tue Jun 1 19:34:15 EEST 2010


details:   http://hg.dovecot.org/dovecot-2.0/rev/044589aca7c6
changeset: 11446:044589aca7c6
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Jun 01 17:34:11 2010 +0100
description:
configure: Don't use spaces after -I and -L compiler flags.
Apparently they break in some setups. Patch by Ben DJ.

diffstat:

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

diffs (27 lines):

diff -r 785f1507fed8 -r 044589aca7c6 configure.in
--- a/configure.in	Tue Jun 01 17:20:42 2010 +0100
+++ b/configure.in	Tue Jun 01 17:34:11 2010 +0100
@@ -2118,7 +2118,7 @@
 	  ])
 	  old_CPPFLAGS=$CPPFLAGS
 	  if test "$PGSQL_INCLUDE" != ""; then
-		  CPPFLAGS="$CPPFLAGS -I $PGSQL_INCLUDE"
+		  CPPFLAGS="$CPPFLAGS -I$PGSQL_INCLUDE"
 	  fi
 	  AC_CHECK_HEADER(libpq-fe.h, [
 		  if test "$PGSQL_INCLUDE" != ""; then
@@ -2151,12 +2151,12 @@
 	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
-				MYSQL_INCLUDE="-I $i/$j"
+				MYSQL_INCLUDE="-I$i/$j"
 			fi
 		done
 		for j in lib lib/mysql lib64 lib64/mysql ""; do
 			if test -f "$i/$j/libmysqlclient.so" || test -f "$i/$j/libmysqlclient.a"; then
-				MYSQL_LIBS="-L $i/$j -lmysqlclient -lz -lm"
+				MYSQL_LIBS="-L$i/$j -lmysqlclient -lz -lm"
 			fi
 		done
 	done


More information about the dovecot-cvs mailing list