[dovecot-cvs] dovecot configure.in,1.315,1.316

tss at dovecot.org tss at dovecot.org
Sun Dec 3 14:12:26 UTC 2006


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

Modified Files:
	configure.in 
Log Message:
Some systems have gssapi elsewhere than gssapi/gssapi.h. So check also plain
gssapi.h. Based on patch by Chris Wakelin



Index: configure.in
===================================================================
RCS file: /var/lib/cvs/dovecot/configure.in,v
retrieving revision 1.315
retrieving revision 1.316
diff -u -d -r1.315 -r1.316
--- configure.in	1 Dec 2006 21:02:10 -0000	1.315
+++ configure.in	3 Dec 2006 14:12:22 -0000	1.316
@@ -1482,9 +1482,16 @@
 			old_CFLAGS=$CFLAGS
 			CFLAGS="$CFLAGS `krb5-config --cflags gssapi`"
 			AC_CHECK_HEADER([gssapi/gssapi.h], [
-				AC_DEFINE(HAVE_GSSAPI,, Build with GSSAPI support)
+				AC_DEFINE(HAVE_GSSAPI_GSSAPI_H,, GSSAPI headers in gssapi/gssapi.h)
 				have_gssapi=yes
 			])
+			AC_CHECK_HEADER([gssapi.h], [
+				AC_DEFINE(HAVE_GSSAPI_H,, GSSAPI headers in gssapi.h)
+				have_gssapi=yes
+			])
+			if test $have_gssapi = yes; then
+				AC_DEFINE(HAVE_GSSAPI,, Build with GSSAPI support)
+			fi
 			CFLAGS=$old_CFLAGS
 		fi
 	fi



More information about the dovecot-cvs mailing list