Fix folly::fibers on OSX with boost 1.60
[folly.git] / folly / m4 / ax_boost_context.m4
index 6843c390a7c6d36eb3182a6e79d52d2a48fa390f..46517c97cf360fb732e5523f114f9d5430c15136 100644 (file)
@@ -69,7 +69,7 @@ AC_DEFUN([AX_BOOST_CONTEXT],
                        CXXFLAGS_SAVE=$CXXFLAGS
 
                        AC_COMPILE_IFELSE([AC_LANG_PROGRAM(
-                               [[@%:@include <boost/context/all.hpp>
+                               [[@%:@include <boost/context/fcontext.hpp>
 #include <boost/version.hpp>
 ]],
                                [[#if BOOST_VERSION >= 105600