-
Notifications
You must be signed in to change notification settings - Fork 48
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Non-fatal Boost detection failures #36
Comments
diff --git a/build-aux/boost.m4 b/build-aux/boost.m4 BOOST_FIND_LIB([LIB-NAME], [PREFERRED-RT-OPT], [HEADER-NAME], [CXX-TEST],-# [CXX-PROLOGUE]) -------------------------------------------------------------------------Look for the Boost library LIB-NAME (e.g., LIB-NAME = `thread', forlibboost_thread). Check that HEADER-NAME works and check thatlibboost_LIB-NAME can link with the code CXX-TEST. The optional argumentCXX-PROLOGUE can be used to include some C++ code before the`main'-# function. Invokes BOOST_FIND_HEADER([HEADER-NAME]) (see above).@@ -299,7 +300,7 @@ AS_VAR_PUSHDEF([Boost_lib], [boost_cv_lib_$1])dnl Now let's try to find the library. The algorithm is as follows: first look@@ -355,7 +356,9 @@ dnl empty because the test file is generated only once above (before we
-# BOOST_THREADS([PREFERRED-RT-OPT]) Look for Boost.Thread. For the documentation of PREFERRED-RT-OPT, see the-# documentation of BOOST_FIND_LIB above. FIXME: Provide an alias "BOOST_THREAD".BOOST_DEFUN([Threads],
|
We want to provide support for conditional Boost support---in particular, we require Boost for one of our projects, but Boost threading is optionally supported. To support this, we've modified boost.m4's BOOST_FIND_LIB and BOOST_THREADS to run an optionally-provided ACTION-IF-NOT-FOUND (if not provided, the usual AC_MSG_ERROR behavior is retained). Patch follows in a comment. Thanks!
The text was updated successfully, but these errors were encountered: