[Dovecot] Patch suggestion

Andrey Panin pazke at donpac.ru
Thu Jul 20 08:32:36 EEST 2006


On 200, 07 19, 2006 at 08:49:30PM +0200, Renaud Allard wrote:
> Hi,
> 
> Would it be possible to make a change in the configure file to search
> for gssapi.h in <kerberosV/gssapi.h> if it fails to find it in
> <gssapi/gssapi.h>? That would allow to compile dovecot with gssapi
> easily on OpenBSD without patching it.
 
Please try attached patch.

-- 
Andrey Panin		| Linux and UNIX system administrator
pazke at donpac.ru		| PGP key: wwwkeys.pgp.net
-------------- next part --------------
diff -urdpNX /usr/share/dontdiff dovecot.vanilla/configure.in dovecot/configure.in
--- dovecot.vanilla/configure.in	2006-07-20 09:26:24.682631304 +0400
+++ dovecot/configure.in	2006-07-20 09:27:51.970361552 +0400
@@ -1408,6 +1408,10 @@ if test $want_gssapi = yes; then
 				AC_DEFINE(HAVE_GSSAPI,, Build with GSSAPI support)
 				have_gssapi=yes
 			])
+			AC_CHECK_HEADER([kerberosV/gssapi.h], [
+				AC_DEFINE(HAVE_GSSAPI,, Build with GSSAPI support)
+				have_gssapi=yes
+			])
 			CFLAGS=$old_CFLAGS
 		fi
 	fi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://dovecot.org/pipermail/dovecot/attachments/20060720/394c074a/attachment.pgp 


More information about the dovecot mailing list