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.
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@donpac.ru | PGP key: wwwkeys.pgp.net
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 ]) ? darix
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@donpac.ru | PGP key: wwwkeys.pgp.net
participants (3)
-
Andrey Panin
-
Marcus Rueckert
-
Renaud Allard