descriptionM4 macros to use Boost with the autotools
homepage URL
last changeSun, 26 Jul 2009 22:37:00 +0000 (26 23:37 +0100)
content tags

This project has moved

It is now on

Old Contents:

This package provides a set of M4 macros to use with autoconf to detect Boost and its various libraries.

Install instructions:
  1. If you have Git: checkout
  2. If you don't have Git: click on `snapshot' to download a snapshot
     and untar the tarball
  make all check

Read the README or fetch the latest revision:
  wget '' -O boost.m4

Add boost.m4 in your project.

Short story: code released under GPLv3+ WITH EXCEPTIONS to allow you to
incorporate it in any kind of software.  The exception reads:

  Additional permission under section 7 of the GNU General Public
  License, version 3 ("GPLv3"):

  If you convey this file as part of a work that contains a
  configuration script generated by Autoconf, you may do so under
  terms of your choice.

Long story:
One of the most common concerns (and I received several mails on this topic)
is that the code is GPLv3+ and people often want to incorporate boost.m4 in
software with more restrictive (read: incompatible) licensing terms.  I was
originally waiting for the FSF to release official clauses for GPLv3+
exceptions to re-use them in boost.m4.  Unfortunately, the FSF lawyers have
been working on this issue for months now and it looks like it's still going
to take some time.  Some major tools (such as Autoconf 2.62) are being rolled
out with licenses clauses reverted to GPLv2+.  I personally do not wish to do
that so what I'm going to do instead is to use the "beta" not-yet-official
exception clauses in boost.m4.  This way those of you who want to use boost.m4
under other licenses (be it BSD or Boost licenses, or whatever), you're free
(and welcome) to do so.
2009-07-26 Benoit SigoureFix support for Boost >= 1.36 on OSX.master
2009-04-30 Benoit SigoureDon't negate character classes using [^...], use [...
2009-04-18 Benoit SigoureAdd support for Boost.StaticAssert and Boost.TypeTraits.
2009-03-29 Benoit SigoureAdd support for Boost.Optional.
2009-03-29 Rhys UlerichAdded BOOST_ROOT implies --with-boost=$BOOST_ROOT
2009-01-19 Benoit SigoureDo not add multiple times -gcc in the list of tags...
2009-01-12 Akim DemailleSimplify the boost version requirement.
2009-01-12 Akim DemailleDo not add useless -I for boost.
2009-01-12 Samuel TardieuAdd a "--enable-static-boost" argument to configure.
2008-09-10 Benoit SigourePrioritize GCC 4.3 now that it has been released and...
2008-09-10 Benoit SigoureAdd support for Boost.Asio.
2008-09-10 Benoit SigoureFix a thinko in the README.
2008-09-10 Benoit SigoureAdd support for Boost.Xpressive.
2008-09-10 Benoit SigoureHandle Boost.System and adjust the code to handle the...
2008-09-10 Benoit SigoureProperly find the debug variant and adjust the library...
2008-03-16 Benoit SigoureAdd GPL license exception.v0.1
8 years ago v0.1 Release of version 0.1.
7 years ago master