Skip to content
tsuna edited this page Sep 13, 2010 · 6 revisions

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

Run:

./bootstrap && ./configure && make all check

Read the README or fetch the latest revision:

wget ‘http://github.com/tsuna/boost.m4/raw/master/build-aux/boost.m4’ -O boost.m4

Add boost.m4 in your project.

LICENSE

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.

Clone this wiki locally