[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: problem compiling against keychain auth on mac

From: Justin Erenkrantz <justin_at_erenkrantz.com>
Date: 2006-11-04 17:11:06 CET

On 11/4/06, Barry Scott <barry@barrys-emacs.org> wrote:
> I cannot find a #define for DARWIN in the APR include files.
>
> $ grep DARWIN /usr/local/svn140/include/apr-0/*
> /usr/local/svn140/include/apr-0/apr_portable.h:#elif defined(DARWIN)
> /usr/local/svn140/include/apr-0/apr_signal.h:#if defined(DARWIN) && !
> defined(__cplusplus) && !defined(_ANSI_SOURCE)

It's added by autoconf to EXTRA_CPPFLAGS and also appears via apr-1-config.

% grep DARWIN build/apr_rules.mk
EXTRA_CPPFLAGS=-DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp
% ./apr-1-config --cppflags
 -DDARWIN -DSIGPROCMASK_SETS_THREAD_MASK -no-cpp-precomp

> I built my own SVN using your two source kits as
> follows is that has any bearing on the problem.
>
> Also isn't testing for DARWIN the wrong thing to do?
> The key chain is a Mac OS X features not a Darwin feature right?

DARWIN is defined for all Mac OS X systems by APR. The keychain stuff
is conditional upon it being a Darwin platform and having the keychain
libs. -- justin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Nov 4 17:11:19 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.