Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

488 lines (366 sloc) 17.069 kB
2008-09-10 Benoit Sigoure <tsuna@lrde.epita.fr>
Prioritize GCC 4.3 now that it has been released and add support for
GCC 4.4.
* build-aux/boost.m4 (_BOOST_FIND_COMPILER_TAG): Here.
Patch contributed by Jens Seidel.
2008-09-10 Benoit Sigoure <tsuna@lrde.epita.fr>
Add support for Boost.Asio.
* README: Mention the new library.
* build-aux/boost.m4 (BOOST_ASIO): New.
* tests/testsuite.at: Test the new macro.
* THANKS: Update.
Report & some code by Jeremy Powell.
2008-09-10 Benoit Sigoure <tsuna@lrde.epita.fr>
Fix a thinko in the README.
* README: Swap "library" / "program" when specifying when LIBS/LDADD
must be used.
Reported by Jens Seidel.
2008-09-10 Benoit Sigoure <tsuna@lrde.epita.fr>
Add support for Boost.Xpressive.
* README: Mention the new library.
* build-aux/boost.m4 (BOOST_XPRESSIVE): New.
* tests/testsuite.at: Test the new macro.
Report & some code by Staffan Gimåker.
2008-09-10 Benoit Sigoure <tsuna@lrde.epita.fr>
Handle Boost.System and adjust the code to handle the binary
dependencies.
Boost.Filesystem (and the libraries depending on it) now requires
Boost.System at link time. Boost.System was introduced in Boost 1.35
so we must only try to find it if the version at hand is >= 1.35.
* README: Add the new library and mention that BOOST_THREADS must be
invoked if Wave/Spirit is intended to be used with thread support.
* build-aux/boost.m4 (BOOST_REQUIRE): Define $boost_major_version.
(BOOST_FILESYSTEM): Also check for Boost.System if
$boost_major_version indicates we have Boost >= 1.35 at hand.
(BOOST_SYSTEM): New.
(BOOST_WAVE): Require Boost.Filesystem and Boost.DateTime.
* tests/testsuite.at: Add a test for BOOST_SYSTEM.
* THANKS: Update.
Bug reported by Daniel Herring with some code contributions of
Daniel Herring and Paul Balomiri.
2008-09-10 Benoit Sigoure <tsuna@lrde.epita.fr>
Properly find the debug variant and adjust the library search order.
* build-aux/boost.m4 (BOOST_REQUIRE): In order to get the proper debug
variant of a library, the `d' must be properly inserted in the runtime
options.
The for-loop that covers the search space of possible library names
was searching twice the same space, so simplify it..
* THANKS: Update.
Bug reported by Alexandre Rostovtsev.
2008-01-23 Benoit Sigoure <tsuna@lrde.epita.fr>
Add support for Boost.Preprocessor.
* README: Mention the new library.
* build-aux/boost.m4 (BOOST_PREPROCESSOR): New.
* tests/testsuite.at: Test the new macro.
2008-01-23 Benoit Sigoure <tsuna@lrde.epita.fr>
Add support for Boost.Lambda.
* README: Mention the new library.
* build-aux/boost.m4 (BOOST_LAMBDA): New.
* tests/testsuite.at: Test the new macro.
2008-01-11 Benoit Sigoure <tsuna@lrde.epita.fr>
Handle the `gcc' tag used by newer versions of Boost.
* build-aux/boost.m4 (_BOOST_FIND_COMPILER_TAG): When the compiler
is gcc also try the `gcc' tag (after the version-specific tag e.g.
`gcc41') since newer versions of Boost (>= 1.35?) seem to do that.
Report and patch by Daniel Herring.
2008-01-11 Benoit Sigoure <tsuna@lrde.epita.fr>
Handle multiple versions of Boost under the same prefix.
* build-aux/boost.m4 (BOOST_REQUIRE): Find the headers of all the
versions of Boost installed. If you have, say,
/usr/local/include/boost which is a symlink to
/usr/local/include/boost-1_34 and you also have
/usr/local/include/boost-1_35 installed, the macro needs to find
them all if you required Boost 1.35 for instance.
Bug reported by Daniel Herring.
2008-01-07 Benoit Sigoure <tsuna@lrde.epita.fr>
Fix the test for Boost.Test.
Some extra code is required to use Boost.Test which defines its own
`main' function.
* build-aux/boost.m4 (BOOST_FIND_LIB): Accept a 5th optional
argument.
(BOOST_TEST): Use it to define `init_unit_test_suite'.
* tests/testsuite.at: Add a test for the static flavor of
BOOST_TEST.
* THANKS: Update.
Problem reported by Jens Seidel. Patch contributed by Hubert
Figuière.
2008-01-06 Benoit Sigoure <tsuna@lrde.epita.fr>
Add support for Boost.Serialization.
* README: Document the change.
* build-aux/boost.m4 (BOOST_SERIALIZATION): New.
* tests/testsuite.at: Test the new macro.
2007-12-17 Benoit Sigoure <tsuna@lrde.epita.fr>
Do not try to link with non existent static archives.
* build-aux/boost.m4 (BOOST_FIND_LIB): Here.
Suggested by Daniel Herring.
2007-12-17 Benoit Sigoure <tsuna@lrde.epita.fr>
Move a test outside a huge loop.
* build-aux/boost.m4 (BOOST_FIND_LIB): Check that $libext is set (by
Libtool) and non-empty earlier.
2007-12-16 Benoit Sigoure <tsuna@lrde.epita.fr>
Re-order the macros alphabetically.
* build-aux/boost.m4 (BOOST_TRIBOOL): Move to the correct place.
2007-12-16 Benoit Sigoure <tsuna@lrde.epita.fr>
Add support for Boost.Tokenizer.
* README: Mention the new lib.
* build-aux/boost.m4 (BOOST_TOKENIZER): New.
* tests/testsuite.at: Test the new macro.
2007-12-03 Benoit Sigoure <tsuna@lrde.epita.fr>
Mention the Libtool dependency in the M4 file.
* build-aux/boost.m4: Here.
Also update the serial...
2007-12-03 Benoit Sigoure <tsuna@lrde.epita.fr>
Support Boost.IOStreams.
* README: Mention the new library.
* build-aux/boost.m4 (BOOST_IOSTREAMS): New.
Contribution of Jens Seidel.
* tests/testsuite.at: Test the new macro.
2007-12-03 Benoit Sigoure <tsuna@lrde.epita.fr>
Update the documentation.
* README: Fix a typo. Mention an inconsistency with BOOST_TEST.
* build-aux/boost.m4 (BOOST_REQUIRE): Mention explicitely that
VERSION can be of the form "X.Y.Z".
Report by Jens Seidel.
2007-12-03 Benoit Sigoure <tsuna@lrde.epita.fr>
Do not depend on Autoconf 2.61.
AS_TEST_X was introduced in 2.61. Alas, 2.60 is still common out
there, so let's use $as_executable_p instead.
* THANKS: Update.
* build-aux/boost.m4 (_BOOST_AC_LINK_IFELSE): Here.
Report by Jens Seidel.
2007-11-30 Benoit Sigoure <tsuna@lrde.epita.fr>
Add support for Boost.Functional/Hash.
* README: Mention the new library.
* build-aux/boost.m4 (BOOST_HASH): New.
* tests/testsuite.at: Test the new macro.
2007-11-24 Benoit Sigoure <tsuna@lrde.epita.fr>
Add a THANKS file.
* THANKS: New.
2007-11-24 Benoit Sigoure <tsuna@lrde.epita.fr>
Improve the portability of BOOST_FILESYSTEM.
* build-aux/boost.m4: Do not check for boost/filesystem.hpp as it
was introduced in 1.34. Check for boost/filesystem/path.hpp
instead.
Report by Staffan Gimåker.
2007-11-21 Benoit Sigoure <tsuna@lrde.epita.fr>
Comment fixes.
* build-aux/boost.m4: Fix a couple of typos.
Reported by Akim Demaille.
2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
Adjust comments.
* build-aux/boost.m4: Aesthetic changes.
2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
Add a test for Boost.Wave.
* README: Mention the new library.
* build-aux/boost.m4 (BOOST_WAVE): New. Contributed by
Daniel Herring.
* tests/testsuite.at: Add a test.
2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
Add checks for Bind, Function and Ref.
* README: Mention the new libraries.
* build-aux/boost.m4 (BOOST_BIND, BOOST_FUNCTION, BOOST_REF): New.
* tests/testsuite.at: Test the new macros.
Contribution of Staffan Gimåker.
2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
Fix the version check.
The version check was completely wrong (!) and would always succeed.
* build-aux/boost.m4 (BOOST_REQUIRE): Properly compute the various
parts of the version (major, minor, sub-minor) from the
BOOST_VERSION macro defined in version.hpp.
Bug reported by Staffan Gimåker.
2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
Fix typos.
* build-aux/boost.m4: Correct various tyops everywhere.
2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
Check that version.hpp exists before trying an include path.
* build-aux/boost.m4 (BOOST_REQUIRE): Here. This ensures that we
don't get the include path wrong *but* the test succeeds because
Boost is reachable thanks to the default include path of the
compiler. Bug reported by Staffan Gimåker.
2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
Re-order the macros.
* build-aux/boost.m4: Sort the macros alphabetically (yes, `T' is
after `S' :D).
2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
Add support for Date_Time, Regex, Signals and Test.
* README: Mention the new libraries.
* build-aux/boost.m4 (BOOST_DATE_TIME, BOOST_REGEX, BOOST_SIGNALS)
(BOOST_TEST): New tests contributed by Staffan Gimåker.
* tests/testsuite.at: Test the new macros.
2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
Aggressively optimize the checks against Boost libraries.
Checking for Boost libraries that require linking was very slow
because it took several iteration to discover the proper link flags
to use to properly compile+link a C++ test file. The test file was
thus compiled over and over again until the right set of flag is
found. Compilation is time-consuming, especially with Boost, so the
trick is to compile the file once and then try to link it.
Unfortunately, Autoconf doesn't seem to allow this and always wants
to delete the intermediate object file. This file thus bypasses one
of the Autoconf internal macro to retain the object file.
On a test case which checks for 2 libraries, the configure time is
reduced by a factor of 5 on my laptop (~100s -> ~20s).
* build-aux/boost.m4 (BOOST_FIND_LIB): Compile the test file once
and then try to link it.
(_BOOST_AC_LINK_IFELSE): Fork of the Autoconf macro _AC_LINK_IFELSE.
Optimization suggested by Daniel Herring.
2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
Optimize the detection of preference for MT flavors.
* build-aux/boost.m4 (BOOST_FIND_LIB): Move a compilation test...
(_BOOST_GUESS_WHETHER_TO_USE_MT): Here. So that the test is only
executed once per configure script.
2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
Fix the test of Boost.Graph.
* build-aux/boost.m4 (BOOST_GRAPH): Fix the C++ code used to test
the library.
2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
Do not pollute the user-reserved variables.
* build-aux/boost.m4 (BOOST_FIND_LIB): Fix a bug: when a library was
found, the LDFLAGS and LIBS weren't properly reset and the macro was
thus polluting user-reserved variables. This needs to be tested in
the testsuite.
Also do not pass -R to the compiler during the tests, this flag is
only usable safely with libtool.
2007-11-17 Benoit Sigoure <tsuna@lrde.epita.fr>
Fix a typo in BOOST_THREADS.
* build-aux/boost.m4 (BOOST_THREADS): Properly set
`boost_threads_save_CPPFLAGS' to `CPPFLAGS' instead of `LIBS'!
Bug reported by Daniel Herring.
2007-11-13 Benoit Sigoure <tsuna@lrde.epita.fr>
Preserve the original values of --host / --build.
This fixes `make check' in cross-compilation environments.
* tests/atlocal.in ($build, $host): Replace with ...
($build_alias, $host_alias): ... these. New.
* tests/testsuite.at (AT_CHECK_AUTOCONF): Use them here.
2007-11-12 Benoit Sigoure <tsuna@lrde.epita.fr>
Add keywords to the testsuite.
* tests/testsuite.at (AT_CHECK_MACRO, AT_CHECK_MACRO_CROSS): Add an
argument in 2nd position (minor backward incompatible change) to
specify keywords for the tests.
Use keywords for all tests (core/lib/header with or without cross).
2007-11-12 Benoit Sigoure <tsuna@lrde.epita.fr>
Add tests for Boost.Program_options.
* README: Mention the new library.
* build-aux/boost.m4 (BOOST_PROGRAM_OPTIONS): New macro.
* tests/testsuite.at: Add a test for the new macro.
2007-11-03 Benoit Sigoure <tsuna@lrde.epita.fr>
Use Libtool and -R to encode run paths.
* README: Mention the dependencies more clearly near the beginning.
Add a step to use Libtool if it's not already used.
* build-aux/boost.m4 (BOOST_FIND_LIB): Add -R flags in the LDFLAGS
and fix a bug when --with-boost isn't used which leads to
$with_boost being empty which leads that /lib is checked first.
* configure.ac: Invoke AC_PROG_LIBTOOL.
* tests/testsuite.at (AT_CONFIGURE_AC): Import the content of
aclocal.m4 without the m4_include's in order to use AC_PROG_LIBTOOL
without getting the hassle of libtoolize.
(AT_CHECK_MACRO): Do not pass -W obsolete to autoconf to avoid
spurious warnings due to Libtool.
2007-11-02 Benoit Sigoure <tsuna@lrde.epita.fr>
Another fix for GCC3 and Boost.Thread.
* build-aux/boost.m4 (BOOST_THREADS): Put -pthread in
BOOST_CPPFLAGS (required for GCC3).
2007-11-02 Benoit Sigoure <tsuna@lrde.epita.fr>
Change the order of the tests.
* tests/testsuite.at: Do the tests that require linking first
(because they are more likely to fail).
2007-11-02 Benoit Sigoure <tsuna@lrde.epita.fr>
Add tests for SmartPtr, StringAlgo, Tribool and Tuple.
* README: Mention the new libraries.
* build-aux/boost.m4 (BOOST_SMART_PTR, BOOST_STRING_ALGO)
(BOOST_TRIBOOL, BOOST_TUPLE): New.
* tests/testsuite.at: Test the new macros.
2007-11-02 Benoit Sigoure <tsuna@lrde.epita.fr>
Fix distcheck.
* AUTHORS: New.
* NEWS: New.
* README: Mention the license and how to fetch the latest version.
* build-aux/boost.m4: Mention how to fetch the latest version.
* configure.ac (AM_INIT_AUTOMAKE): Drop `foreign'.
* tests/Makefile.am ($(TESTSUITE)): Adjust dependencies to fix
distcheck.
2007-11-02 Benoit Sigoure <tsuna@lrde.epita.fr>
Properly find the pthreads flags for use with Boost.Thread.
* build-aux/boost.m4 (_BOOST_PTHREAD_FLAG): New internal helper.
(BOOST_THREADS): Use it. Use the pthread flag during the tests for
Boost.Thread.
* tests/testsuite.at: Since the test for Boost.Thread is now more
costly, do the cross-compilation test with Boost.Filesystem instead.
2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
Fix the testsuite to preserve the various arguments of configure.
* build-aux/boost.m4 (BOOST_REQUIRE): Define
DISTCHECK_CONFIGURE_FLAGS to automatically preserve the --with-boost
argument.
* configure.ac: Use AC_CANONICAL_HOST.
(AC_CONFIG_FILES): Generate tests/package.m4.
* tests/Makefile.am (EXTRA_DIST, $(TESTSUITE)): Adjust.
No longer need to generate package.m4 since it's now generated from
package.m4.in.
* tests/atlocal.in (CXX, LD, CONFIGURE_FLAGS, build, host): New.
* tests/package.m4.in: New.
* tests/testsuite.at: Invoke configure with the proper flags (that
is, preserve the original configuration).
2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
Add a README.
* README: New.
* build-aux/boost.m4: Advertise the Git repository.
2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
Fix the detection of the toolset name for GCC.
* build-aux/boost.m4 (_BOOST_gcc_test): New internal helper.
(_BOOST_FIND_COMPILER_TAG): Use _BOOST_gcc_test to take into account
the minor version number of GCC into the toolset name.
* configure.ac: Invoke _BOOST_FIND_COMPILER_TAG to warn earlier
about unknown toolsets.
2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
Add a test for Boost.Variant.
* build-aux/boost.m4 (BOOST_VARIANT): New.
* tests/testsuite.at: Test the new macro.
2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
Add tests for Boost.Format and Boost.Utility.
* build-aux/boost.m4 (BOOST_FORMAT, BOOST_UTILITY): New.
* tests/testsuite.at: Test the new macros.
2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
Add a check for Boost.Conversion.
* build-aux/boost.m4 (BOOST_CONVERSION): New.
* tests/testsuite.at: Add a test for the new macro.
2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
Add a check for Boost.Filesystem.
* build-aux/boost.m4 (BOOST_FILESYSTEM): New.
* tests/testsuite.at: Add a test for the new macro.
2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
Add some cross-compilation tests.
* tests/testsuite.at: Here.
2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
Add a check for Boost.Graph.
* build-aux/boost.m4 (BOOST_GRAPH): New.
* tests/testsuite.at: Test the new macro.
2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
Add macros for Boost.Foreach and Boost.Threads.
* build-aux/boost.m4 (BOOST_FOREACH, BOOST_THREADS): New.
* tests/testsuite.at: Test the new macros.
2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
Fix distcheck.
* configure.ac: Use AC_CONFIG_HEADERS.
* tests/Makefile.am (CLEANFILES): New.
Make package.m4 depend on Makefile.in. Disable installcheck-local.
2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
Add macros to check for Boost libraries and headers.
* build-aux/boost.m4 (BOOST_REQUIRE): Restrain variable names to the
pseudo /_?boost/i namespace. Look up the version string of Boost in
boost/version.hpp.
(BOOST_FIND_HEADER, BOOST_FIND_LIB): New.
2007-10-31 Benoit Sigoure <tsuna@lrde.epita.fr>
Add a testsuite.
* Makefile.am (SUBDIRS): New.
* configure.ac: Adjust for the testsuite.
* tests/Makefile.am: New.
* tests/atlocal.in: Copy from Makefile.am.
* tests/testsuite.at: New.
2007-10-31 Benoit Sigoure <tsuna@lrde.epita.fr>
Initial version.
* ChangeLog: New.
* Makefile.am: New.
* bootstrap: New.
* build-aux/boost.m4: New.
(BOOST_REQUIRE): New.
* configure.ac: New.
Jump to Line
Something went wrong with that request. Please try again.