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. -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 186 bytes Desc: OpenPGP digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20060719/90832e16/attachment.bin>
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: signature.asc Type: application/pgp-signature Size: 189 bytes Desc: Digital signature URL: <http://dovecot.org/pipermail/dovecot/attachments/20060720/394c074a/attachment.bin>
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 > fiwhy not AC_CHECK_HEADERS([gssapi/gssapi.h,kerberosV/gssapi.h], [ AC_DEFINE(HAVE_GSSAPI,, Build with GSSAPI support) have_gssapi=yes ]) ? darix