apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <jor...@redhat.com>
Subject Re: svn commit: r824767 - in /apr/apr/trunk: build/apr_hints.m4 configure.in include/apr.h.in include/apr_os_override.h include/arch/darwin/ include/arch/darwin/apr_darwin_types.h
Date Tue, 13 Oct 2009 15:18:55 GMT
On Tue, Oct 13, 2009 at 01:58:20PM -0000, Jim Jagielski wrote:
> Author: jim
> Date: Tue Oct 13 13:58:19 2009
> New Revision: 824767
> 
> URL: http://svn.apache.org/viewvc?rev=824767&view=rev
> Log:
> More Darwin mojo due to 64 and 32 bit multi-arches. The
> deal is we need to install headers that work both when
> installed and used for both 32 and 64 bit builds, ie:
> at compile time. Uses Apple's own apr.h edits as a guide.

This is nuts, -1.  Set a flag in apr_hints.m4 to force the compiler to 
pick a single ABI (whichever is the platform default), or fail and make 
the user do that.  A compiler which is building for two completely 
different ABIs simultaneously invalidates the results of the configure 
script.  You have no way to tell whether any given configure test (now 
and in the future) has the same result across both ABIs - you'd have to 
check it manually for every single test.

Regards, Joe

Mime
View raw message