From e108151c20a55704ccb77b7247922aecd61a6a1b Mon Sep 17 00:00:00 2001 From: William Pitcock Date: Sat, 30 Jul 2016 19:56:01 -0500 Subject: [PATCH] configure: use AX_BOOST macros when not building built-in boost --- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index dd6a45795..3834b4c97 100644 --- a/configure.ac +++ b/configure.ac @@ -817,12 +817,13 @@ AC_HELP_STRING([--with-included-boost[[[=shared]]]], [Use the boost sources from ],[ AC_MSG_RESULT([no]) - AC_SEARCH_LIBS(boost_system, boost_system, - [ + AX_BOOST_BASE([1.60], [ AC_DEFINE(HAVE_LIB_BOOST_SYSTEM, 1, [Define if you have boost_system]) ], [ AC_MSG_ERROR([Failed to find boost_system library. (try --with-included-boost)]) ]) + AX_BOOST_ASIO + AX_BOOST_SYSTEM AC_SUBST(BOOST_CPPFLAGS, "") AC_SUBST(BOOST_LDFLAGS, "")