Make Fibers library conditional on working Boost.Context fcontext_t
authorBen Hamilton <beng@fb.com>
Fri, 10 Jun 2016 23:01:34 +0000 (16:01 -0700)
committerFacebook Github Bot 7 <facebook-github-bot-7-bot@fb.com>
Fri, 10 Jun 2016 23:08:25 +0000 (16:08 -0700)
commit52155e1d78650fd0360104f70df987dceed06cb2
treeca1076440192dd6b9bef6664423322ad35d5dfa7
parent6d52608a55d3c0b1f7c9b6ed2fc4d43bc2ddcc0d
Make Fibers library conditional on working Boost.Context fcontext_t

Summary:
Boost 1.61 removes the `boost::context::fcontext_t` type
which Folly Fibers depends on.

This makes the Fibers library conditional on a working `fcontext_t`,
so Folly will build (just without Fibers) if it's not present.

Depends On D3419638

Fixes https://github.com/facebook/folly/issues/413

Reviewed By: Orvid

Differential Revision: D3420097

fbshipit-source-id: 876f8f76a2d0dda4ce5085c27875ab6aaa7b86c0
folly/Makefile.am
folly/configure.ac