summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2025-03-17 01:25:02 +0100
committerCarl Hetherington <cth@carlh.net>2025-03-22 13:29:58 +0100
commit9dd72fc481349f0b5ce985164441eecfa6485c19 (patch)
treed8136ef6d6b660a5a411722a128d0e309333ff3d /wscript
parent169c47ede14b6e86e054871a56ffa048357b4463 (diff)
Add abstraction of io_{context,service} and use it as appropriate.
Diffstat (limited to 'wscript')
-rw-r--r--wscript8
1 files changed, 8 insertions, 0 deletions
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 <boost/asio.hpp>
+ 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="""