Ah! Yeah... makes sense. Thanks for explaining!
Cheers,
-g
On Mon, Apr 13, 2009 at 12:01, Lieven Govaerts <svnlgo_at_mobsol.be> wrote:
> Yes, the plan is to detect the availability of gssapi/gssapi.h and function
> gss_init_sec_context at config time. For now, the code is basically
> commented out unless you define SVN_RA_SERF_GSSAPI_ENABLED manually.
>
> On 04/12/2009 07:41 PM, Greg Stein wrote:
>>
>> Don't you need to pick up that symbol from the svn_private_config.h
>> autoconf header?
>>
>> On Sat, Apr 11, 2009 at 16:49, Lieven Govaerts<lgo_at_mobsol.be> wrote:
>>>
>>> Author: lgo
>>> Date: Sat Apr 11 07:49:42 2009
>>> New Revision: 37176
>>>
>>> Log:
>>> ra_serf: Fix compilation error when gssapi is not installed.
>>>
>>> * subversion/libsvn_ra_serf/auth_kerb.c
>>> (global): Move the test for SVN_RA_SERF_GSSAPI_ENABLED before
>>> including<gssapi.h>.
>>>
>>> Modified:
>>> trunk/subversion/libsvn_ra_serf/auth_kerb.c
>>>
>>> Modified: trunk/subversion/libsvn_ra_serf/auth_kerb.c
>>> URL:
>>> http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_ra_serf/auth_kerb.c?pathrev=37176&r1=37175&r2=37176
>>>
>>> ==============================================================================
>>> --- trunk/subversion/libsvn_ra_serf/auth_kerb.c Sat Apr 11 07:35:18 2009
>>> (r37175)
>>> +++ trunk/subversion/libsvn_ra_serf/auth_kerb.c Sat Apr 11 07:49:42 2009
>>> (r37176)
>>> @@ -16,6 +16,8 @@
>>> * ====================================================================
>>> */
>>>
>>> +#ifdef SVN_RA_SERF_GSSAPI_ENABLED
>>> +
>>> #include<string.h>
>>>
>>> #include<apr.h>
>>> @@ -42,8 +44,6 @@
>>> ** - test
>>> **/
>>>
>>> -#ifdef SVN_RA_SERF_GSSAPI_ENABLED
>>> -
>>> typedef enum
>>> {
>>> gss_api_auth_not_started,
>>>
>>> ------------------------------------------------------
>>>
>>> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=495&dsMessageId=1650366
>>>
>>
>> ------------------------------------------------------
>>
>> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1672793
>>
>
>
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=1687365
Received on 2009-04-13 12:50:54 CEST