8 # Test for Regex library from the Boost C++ libraries. The macro requires
9 # a preceding call to AX_BOOST_BASE.
13 # AC_SUBST(BOOST_REGEX_LIB)
21 # Copyright (c) 2008 Thomas Porschberg <thomas@randspringer.de>
22 # Copyright (c) 2008 Michael Tindal
23 # Copyright (c) 2008 Free Software Foundation, Inc.
25 # Copying and distribution of this file, with or without modification, are
26 # permitted in any medium without royalty provided the copyright notice
27 # and this notice are preserved.
29 AC_DEFUN([AX_BOOST_REGEX],
31 AC_REQUIRE([AX_BOOST_BASE])
32 _AX_BOOST_CHECK([boost_regex],
33 [@%:@include <boost/regex.hpp>],
34 [boost::regex r(); return 0;])