Build using system ASIO, currently 1.30 in Debian (Closes: #1115369)
Add libasio-dev as a build dependency. This is automatically picked up the configure stage as confirmed in the build logs.
Before:
-- Looking for C++ include asio.hpp
-- Looking for C++ include asio.hpp - not found
-- Using bundled asio
After:
-- Looking for C++ include asio.hpp
-- Looking for C++ include asio.hpp - found
-- Performing Test ASIO_VERSION_OK
-- Performing Test ASIO_VERSION_OK - Success
Additionally remove the bundled asio/ directory before the configure and build stages run to ensure nothing is used from the bundled copy.