| 1 | Description: Fix build with modern Boost where boost::system is header-only |
| 2 | Author: Anton Gladky <[email protected]> |
| 3 | Bug-Debian: #1110583 |
| 4 | |
| 5 | --- a/m4/ax_boost_system.m4 |
| 6 | +++ b/m4/ax_boost_system.m4 |
| 7 | @@ -108,7 +108,8 @@ |
| 8 | |
| 9 | fi |
| 10 | if test "x$ax_lib" = "x"; then |
| 11 | - AC_MSG_ERROR(Could not find a version of the library!) |
| 12 | + dnl boost::system is header-only since Boost 1.69, no library file needed |
| 13 | + link_system="yes" |
| 14 | fi |
| 15 | if test "x$link_system" = "xno"; then |
| 16 | AC_MSG_ERROR(Could not link against $ax_lib !) |