BOOST_INCLUDES="-I${boost_include_path}"
CPPFLAGS="$CPPFLAGS $BOOST_INCLUDES"
fi
-AC_CHECK_HEADERS([boost/shared_ptr.hpp boost/foreach.hpp boost/interprocess/sync/interprocess_upgradable_mutex.hpp boost/date_time/posix_time/posix_time_types.hpp boost/bind.hpp boost/function.hpp boost/asio.hpp boost/asio/ip/address.hpp boost/system/error_code.hpp],,
+AC_CHECK_HEADERS([boost/shared_ptr.hpp boost/foreach.hpp boost/interprocess/sync/interprocess_upgradable_mutex.hpp boost/date_time/posix_time/posix_time_types.hpp boost/bind.hpp boost/function.hpp boost/asio.hpp boost/asio/ip/address.hpp boost/system/error_code.hpp boost/atomic.hpp],,
AC_MSG_ERROR([Missing required header files.]))
AC_CHECK_HEADERS(boost/asio/coroutine.hpp,,AC_MSG_RESULT(not found, using built-in header.))
break],
[AC_MSG_RESULT([no])
continue])
-
- AC_MSG_CHECKING(boost atomic_flag support)
- feature="boost atomic_flag"
- AC_COMPILE_IFELSE(
- [AC_LANG_PROGRAM(
- [#include <boost/atomic.hpp>],
- [boost::atomic_flag run_flag;])],
- [AC_MSG_RESULT([yes])
- break],
- [AC_MSG_RESULT([no])
- continue])
done
])dnl AX_ISC_RPATH