Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 5eba4cc680
Fetching contributors…

Cannot retrieve contributors at this time

25 lines (19 sloc) 0.949 kB
AC_DEFUN([AX_BOOST_THREAD],
[
ax_boost_thread_stored_ldflags="$LDFLAGS"
AC_REQUIRE([AX_BOOST_PREFIX])
AX_BOOST_LIB([ax_boost_thread_lib], [boost_thread])
LDFLAGS="$ax_boost_thread_stored_ldflags $BOOST_LDFLAGS -l$ax_boost_thread_lib"
ax_have_boost_thread="yes"
AX_BOOST_HEADER([thread.hpp], [], [ax_have_boost_thread="no"])
AX_BOOST_HEADER([thread/mutex.hpp], [], [ax_have_boost_thread="no"])
AX_BOOST_HEADER([thread/condition.hpp], [], [ax_have_boost_thread="no"])
AX_BOOST_HEADER([thread/thread.hpp], [], [ax_have_boost_thread="no"])
LDFLAGS="$ax_boost_thread_stored_ldflags"
if test "f$ax_have_boost_thread" = "fyes"; then
ifelse([$1], , :, [$1])
AC_SUBST([BOOST_THREAD_LDFLAGS], ["-l$ax_boost_thread_lib"])
else
ifelse([$2], , :, [$2])
fi
])
Jump to Line
Something went wrong with that request. Please try again.