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

Re: [PATCH v3] build/ac-macros/macosx.m4: workaround AC_RUN_IFELSE

From: Nathan Hartman <hartman.nathan_at_gmail.com>
Date: Mon, 7 Sep 2020 20:03:23 -0400

On Mon, Sep 7, 2020 at 6:44 PM Daniel Shahaf <d.s_at_daniel.shahaf.name> wrote:

> Nathan Hartman wrote on Mon, 07 Sep 2020 09:33 -0400:
> > On Sun, Sep 6, 2020 at 3:22 PM Nathan Hartman <hartman.nathan_at_gmail.com>
> wrote:
> > > > Patch by: Fabrice Fontaine
> > > >
> > > > The SVN_LIB_MACHO_ITERATE macro contains an AC_RUN_IFELSE test that
> > > > will raise the following build failure when cross-compiling:
> > > >
> > > > checking for Mach-O dynamic module iteration functions... configure:
> error: in `/home/fabrice/buildroot/output/build/subversion-1.14.0':
> > > > configure: error: cannot run test program while cross compiling
> > > >
> > > > To avoid this build failure, set the action-if-cross-compiling of
> > > > AC_RUN_IFELSE to a pessimistic value (no).
> > > > Moreover, encapsulate this call with AC_CACHE_CHECK as suggested by
> > > > Thomas Petazzoni to allow the user to override this value when
> > > > cross-compiling for macosx target.
> >
> > Committed in r1881534.
>
> Backport?

Yes. I intended to but got sidetracked. I'll nominate it soon.

Thanks,
Nathan
Received on 2020-09-08 02:03:43 CEST

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.