[Dovecot] Patch suggestion

Andrey Panin pazke at donpac.ru
Thu Jul 20 16:03:13 EEST 2006


On 201, 07 20, 2006 at 02:49:24PM +0200, Marcus Rueckert wrote:
> On 2006-07-20 09:32:36 +0400, Andrey Panin wrote:
> > 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
> 
> why not 
> AC_CHECK_HEADERS([gssapi/gssapi.h,kerberosV/gssapi.h], [
> 	AC_DEFINE(HAVE_GSSAPI,, Build with GSSAPI support)
> 	have_gssapi=yes
> ])
> 
> ?

Because I'm not an autotools expert and copy-paste is easy :) 

-- 
Andrey Panin		| Linux and UNIX system administrator
pazke at donpac.ru		| PGP key: wwwkeys.pgp.net
-------------- 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/05bf10d9/attachment.pgp 


More information about the dovecot mailing list