Remove deprecated asio names

io_service was deprecated long ago.  Replace
boost::io_service -> boost::io_context

and enable BOOST_ASIO_NO_DEPRECATED so we have more warning for this in
the future.

Change-Id: I189b28c05f5017ef9302e79b35d37aa614613f30
Signed-off-by: Ed Tanous <ed@tanous.net>
diff --git a/meson.build b/meson.build
index 07f50a4..afaae3f 100644
--- a/meson.build
+++ b/meson.build
@@ -20,6 +20,17 @@
     add_global_arguments('-Wno-defaulted-function-deleted', language: 'cpp')
 endif
 
+add_project_arguments(
+    cxx.get_supported_arguments(
+        [
+            '-DBOOST_ALL_NO_LIB',
+            '-DBOOST_ASIO_DISABLE_THREADS',
+            '-DBOOST_ASIO_NO_DEPRECATED',
+        ],
+    ),
+    language: 'cpp',
+)
+
 build_tests = get_option('tests')
 
 if get_option('oe-sdk').allowed()