From 9dd72fc481349f0b5ce985164441eecfa6485c19 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Mon, 17 Mar 2025 01:25:02 +0100 Subject: Add abstraction of io_{context,service} and use it as appropriate. --- wscript | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'wscript') diff --git a/wscript b/wscript index 124bd30ac..b4e165bd2 100644 --- a/wscript +++ b/wscript @@ -638,6 +638,14 @@ def configure(conf): lib=deps, uselib_store='BOOST_PROCESS') + conf.check_cxx(fragment=""" + #include + int main() { boost::asio::io_context context; } + """, + msg='Checking for boost::asio::io_context', + define_name='DCPOMATIC_HAVE_BOOST_ASIO_IO_CONTEXT', + mandatory=False) + # sqlite3 conf.check_cfg(package="sqlite3", args='--cflags --libs', uselib_store='SQLITE3', mandatory=True) conf.check_cxx(fragment=""" -- cgit v1.2.3