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

Re: [PATCH]Correct approach to detect the presence of apr_hash_clear in apr

From: Daniel Rall <dlr_at_collab.net>
Date: 2006-09-21 18:29:37 CEST

On Thu, 21 Sep 2006, Garrett Rooney wrote:

> On 9/21/06, Kamesh Jayachandran <kamesh@collab.net> wrote:
> >Hi All,
> >Find the attached patch and log which in my opinion a correct way to
> >detect apr_hash_clear in an available apr.
> >Tested the same in apr-0.9.7 and apr-1.3.0.
>
> Honestly, I think it's silly to waste people's CPU time on autoconf
> checks for this. We know what version of APR it will show up in, so
> there's no reason to jump through the hoops of compiling a test
> program to see if it's there.

Furthermore, we'd have to add additional autoconf checks the next time
we needed an API from APR which isn't present in all the versions of
it we support. Using a macro is more easily supportable.

  • application/pgp-signature attachment: stored
Received on Thu Sep 21 18:30:58 2006

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