If you want to fork this repository to propose merge requests, please send an email to tiago@skewed.de, and your project limit will be raised.

Commit daa99068 authored by Alexey's avatar Alexey

Import "context/detail/fcontext.hpp" instead of "context/all.hpp" when testing...

Import "context/detail/fcontext.hpp" instead of "context/all.hpp" when testing for the presence of boost::context.

"context/all.hpp" has been removed in recent versions of boost::context.

See:

- https://github.com/boostorg/context/issues/81
- https://github.com/boostorg/context/commit/2e37599461912cc1679f106a25456a493f7f0b27
parent d04f8187
......@@ -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/detail/fcontext.hpp>]],
[[/*boost::context::fcontext_t* fc = boost::context::make_fcontext(0, 0, 0);*/]])],
ax_cv_boost_context=yes, ax_cv_boost_context=no)
CXXFLAGS=$CXXFLAGS_SAVE
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment