[dovecot-cvs] dovecot configure.in,1.277.2.45,1.277.2.46

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


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

Modified Files:
      Tag: branch_1_0
	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.277.2.45
retrieving revision 1.277.2.46
diff -u -d -r1.277.2.45 -r1.277.2.46
--- configure.in	19 Nov 2006 13:30:34 -0000	1.277.2.45
+++ configure.in	3 Dec 2006 14:12:21 -0000	1.277.2.46
@@ -1437,9 +1437,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