curl-library
[patch] better gssapi check
Date: Thu, 06 Mar 2008 15:34:15 +0100
Hi,
I'm sending this on behalf of our gssapi guru (in CC) who isn't
subscribed to this list. Here's the explanation of the patch:
Michael Calmer wrote:
> In older MIT kerberos versions no /usr/include/gssapi.h exists. It
> was /usr/include/gssapi/gssapi.h
>
> The current configure check in libcurl does now the following:
>
> check if gssapi.h exists . If yes => Heimdal
> if no =>
> check if gssapi/gssapi.h exists . If yes => MIT
> if no => disable gssapi.
>
>
> New versions of MIT kerberos have now a /usr/include/gssapi.h .
> For this reason the configure check will always detect Heimdal and never MIT
> Kerberos.
>
> My patch now turnaround the checks.
>
> first check for gssapi/gssapi.h => MIT
> if not found check for gssapi.h => Heimdal.
Michal
- text/x-patch attachment: curl-better-gssapi-check.patch