[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 09:33:44 -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.

Fabrice, can we consider issue # SVN-4864 to be closed?

https://issues.apache.org/jira/browse/SVN-4864

Thanks,
Nathan
Received on 2020-09-07 15:33:59 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.