root / config / ax_boost_system.m4 @ 6ab7109a
History | View | Annotate | Download (1.1 kB)
| 1 | # =========================================================================== |
|---|---|
| 2 | # started with this: http://autoconf-archive.cryp.to/ax_boost_system.html, |
| 3 | # virtually nothing left |
| 4 | # =========================================================================== |
| 5 | # |
| 6 | # SYNOPSIS |
| 7 | # |
| 8 | # AX_BOOST_SYSTEM |
| 9 | # |
| 10 | # DESCRIPTION |
| 11 | # |
| 12 | # Test for System library from the Boost C++ libraries. The macro requires |
| 13 | # a preceding call to AX_BOOST_BASE. |
| 14 | # |
| 15 | # This macro calls: |
| 16 | # |
| 17 | # AC_SUBST(BOOST_SYSTEM_LIB) |
| 18 | # |
| 19 | # And sets: |
| 20 | # |
| 21 | # HAVE_BOOST_SYSTEM |
| 22 | # |
| 23 | # COPYLEFT |
| 24 | # |
| 25 | # Copyright (c) 2008 Thomas Porschberg <[email protected]> |
| 26 | # Copyright (c) 2008 Michael Tindal |
| 27 | # Copyright (c) 2008 Daniel Casimiro <[email protected]> |
| 28 | # Copyright (c) 2008 Free Software Foundation, Inc. |
| 29 | # |
| 30 | # Copying and distribution of this file, with or without modification, are |
| 31 | # permitted in any medium without royalty provided the copyright notice |
| 32 | # and this notice are preserved. |
| 33 | |
| 34 | AC_DEFUN([AX_BOOST_SYSTEM], |
| 35 | [ |
| 36 | AC_REQUIRE([AX_BOOST_BASE]) |
| 37 | _AX_BOOST_CHECK([boost_system], |
| 38 | [@%:@include <boost/system/error_code.hpp>], |
| 39 | [boost::system::system_category]) |
| 40 | ]) |