Next: , Previous: , Up: The Macros  


ax_boost_base

Synopsis

AX_BOOST_BASE([MINIMUM-VERSION], [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND])

Description

Test for the Boost C++ libraries of a particular version (or newer)

If no path to the installed boost library is given the macro searchs under /usr, /usr/local, /opt, /opt/local and /opt/homebrew and evaluates the $BOOST_ROOT environment variable. Further documentation is available at <http://randspringer.de/boost/index.html>.

This macro calls:

  AC_SUBST(BOOST_CPPFLAGS) / AC_SUBST(BOOST_LDFLAGS)

And sets:

  HAVE_BOOST

Source Code

Download the latest version of ax_boost_base.m4 or browse the macro’s revision history.

License

Copyright © 2008 Thomas Porschberg thomas@randspringer.de
Copyright © 2009 Peter Adolphs

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved. This file is offered as-is, without any warranty.