Skip to content

Commit

Permalink
BUILD: Extend boost.m4 to check for Boost.Atomic
Browse files Browse the repository at this point in the history
  • Loading branch information
DrMcCoy committed Jan 30, 2014
1 parent 007ca19 commit 3d23040
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions m4/boost.m4
Original file line number Diff line number Diff line change
Expand Up @@ -473,6 +473,17 @@ BOOST_DEFUN([Asio],
BOOST_FIND_HEADER([boost/asio.hpp])])


# BOOST_ATOMIC([PREFERRED-RT-OPT])
# -------------------------------
# Look for Boost.Atomic. For the documentation of PREFERRED-RT-OPT, see the
# documentation of BOOST_FIND_LIB above.
BOOST_DEFUN([Atomic],
[BOOST_FIND_LIB([atomic], [$1],
[boost/atomic.hpp],
[boost::atomic<int> a;])
])# BOOST_ATOMIC


# BOOST_BIND()
# ------------
# Look for Boost.Bind
Expand Down

0 comments on commit 3d23040

Please sign in to comment.