Rec: Don't fail configure on missing fcontext.hpp #4052

Merged
merged 1 commit into from Jun 28, 2016

Projects

None yet

1 participant

@pieterlexis
Member

Fall back to System V ucontexts:

with fcontext.hpp renamed to fcontext.hpp.bak:

configure: checking whether the Boost context library actually links...
checking boost/context/fcontext.hpp usability... no
checking boost/context/fcontext.hpp presence... no
checking for boost/context/fcontext.hpp... no
configure: Boost context library is missing
configure: MTasker will use System V ucontexts for context switching

with fcontext.hpp available:

checking boost/context/fcontext.hpp usability... yes
checking boost/context/fcontext.hpp presence... yes
checking for boost/context/fcontext.hpp... yes
checking for boost/context/fcontext.hpp... (cached) yes
checking for the Boost context library... (cached) yes
configure: MTasker will use the Boost context library for context switching

Fixes #4014

@pieterlexis pieterlexis merged commit d373cae into PowerDNS:master Jun 28, 2016

1 check passed

continuous-integration/travis-ci/pr The Travis CI build passed
Details
@pieterlexis pieterlexis deleted the pieterlexis:issue-4014-boost-context-fcontext-hpp branch Jul 8, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment