1 2008-09-10 Benoit Sigoure <tsuna@lrde.epita.fr>
3 Prioritize GCC 4.3 now that it has been released and add support for
5 * build-aux/boost.m4 (_BOOST_FIND_COMPILER_TAG): Here.
6 Patch contributed by Jens Seidel.
8 2008-09-10 Benoit Sigoure <tsuna@lrde.epita.fr>
10 Add support for Boost.Asio.
11 * README: Mention the new library.
12 * build-aux/boost.m4 (BOOST_ASIO): New.
13 * tests/testsuite.at: Test the new macro.
15 Report & some code by Jeremy Powell.
17 2008-09-10 Benoit Sigoure <tsuna@lrde.epita.fr>
19 Fix a thinko in the README.
20 * README: Swap "library" / "program" when specifying when LIBS/LDADD
22 Reported by Jens Seidel.
24 2008-09-10 Benoit Sigoure <tsuna@lrde.epita.fr>
26 Add support for Boost.Xpressive.
27 * README: Mention the new library.
28 * build-aux/boost.m4 (BOOST_XPRESSIVE): New.
29 * tests/testsuite.at: Test the new macro.
30 Report & some code by Staffan Gimåker.
32 2008-09-10 Benoit Sigoure <tsuna@lrde.epita.fr>
34 Handle Boost.System and adjust the code to handle the binary
37 Boost.Filesystem (and the libraries depending on it) now requires
38 Boost.System at link time. Boost.System was introduced in Boost 1.35
39 so we must only try to find it if the version at hand is >= 1.35.
40 * README: Add the new library and mention that BOOST_THREADS must be
41 invoked if Wave/Spirit is intended to be used with thread support.
42 * build-aux/boost.m4 (BOOST_REQUIRE): Define $boost_major_version.
43 (BOOST_FILESYSTEM): Also check for Boost.System if
44 $boost_major_version indicates we have Boost >= 1.35 at hand.
46 (BOOST_WAVE): Require Boost.Filesystem and Boost.DateTime.
47 * tests/testsuite.at: Add a test for BOOST_SYSTEM.
49 Bug reported by Daniel Herring with some code contributions of
50 Daniel Herring and Paul Balomiri.
52 2008-09-10 Benoit Sigoure <tsuna@lrde.epita.fr>
54 Properly find the debug variant and adjust the library search order.
55 * build-aux/boost.m4 (BOOST_REQUIRE): In order to get the proper debug
56 variant of a library, the `d' must be properly inserted in the runtime
58 The for-loop that covers the search space of possible library names
59 was searching twice the same space, so simplify it..
61 Bug reported by Alexandre Rostovtsev.
63 2008-01-23 Benoit Sigoure <tsuna@lrde.epita.fr>
65 Add support for Boost.Preprocessor.
66 * README: Mention the new library.
67 * build-aux/boost.m4 (BOOST_PREPROCESSOR): New.
68 * tests/testsuite.at: Test the new macro.
70 2008-01-23 Benoit Sigoure <tsuna@lrde.epita.fr>
72 Add support for Boost.Lambda.
73 * README: Mention the new library.
74 * build-aux/boost.m4 (BOOST_LAMBDA): New.
75 * tests/testsuite.at: Test the new macro.
77 2008-01-11 Benoit Sigoure <tsuna@lrde.epita.fr>
79 Handle the `gcc' tag used by newer versions of Boost.
80 * build-aux/boost.m4 (_BOOST_FIND_COMPILER_TAG): When the compiler
81 is gcc also try the `gcc' tag (after the version-specific tag e.g.
82 `gcc41') since newer versions of Boost (>= 1.35?) seem to do that.
83 Report and patch by Daniel Herring.
85 2008-01-11 Benoit Sigoure <tsuna@lrde.epita.fr>
87 Handle multiple versions of Boost under the same prefix.
88 * build-aux/boost.m4 (BOOST_REQUIRE): Find the headers of all the
89 versions of Boost installed. If you have, say,
90 /usr/local/include/boost which is a symlink to
91 /usr/local/include/boost-1_34 and you also have
92 /usr/local/include/boost-1_35 installed, the macro needs to find
93 them all if you required Boost 1.35 for instance.
94 Bug reported by Daniel Herring.
96 2008-01-07 Benoit Sigoure <tsuna@lrde.epita.fr>
98 Fix the test for Boost.Test.
99 Some extra code is required to use Boost.Test which defines its own
101 * build-aux/boost.m4 (BOOST_FIND_LIB): Accept a 5th optional
103 (BOOST_TEST): Use it to define `init_unit_test_suite'.
104 * tests/testsuite.at: Add a test for the static flavor of
107 Problem reported by Jens Seidel. Patch contributed by Hubert
110 2008-01-06 Benoit Sigoure <tsuna@lrde.epita.fr>
112 Add support for Boost.Serialization.
113 * README: Document the change.
114 * build-aux/boost.m4 (BOOST_SERIALIZATION): New.
115 * tests/testsuite.at: Test the new macro.
117 2007-12-17 Benoit Sigoure <tsuna@lrde.epita.fr>
119 Do not try to link with non existent static archives.
120 * build-aux/boost.m4 (BOOST_FIND_LIB): Here.
121 Suggested by Daniel Herring.
123 2007-12-17 Benoit Sigoure <tsuna@lrde.epita.fr>
125 Move a test outside a huge loop.
126 * build-aux/boost.m4 (BOOST_FIND_LIB): Check that $libext is set (by
127 Libtool) and non-empty earlier.
129 2007-12-16 Benoit Sigoure <tsuna@lrde.epita.fr>
131 Re-order the macros alphabetically.
132 * build-aux/boost.m4 (BOOST_TRIBOOL): Move to the correct place.
134 2007-12-16 Benoit Sigoure <tsuna@lrde.epita.fr>
136 Add support for Boost.Tokenizer.
137 * README: Mention the new lib.
138 * build-aux/boost.m4 (BOOST_TOKENIZER): New.
139 * tests/testsuite.at: Test the new macro.
141 2007-12-03 Benoit Sigoure <tsuna@lrde.epita.fr>
143 Mention the Libtool dependency in the M4 file.
144 * build-aux/boost.m4: Here.
145 Also update the serial...
147 2007-12-03 Benoit Sigoure <tsuna@lrde.epita.fr>
149 Support Boost.IOStreams.
150 * README: Mention the new library.
151 * build-aux/boost.m4 (BOOST_IOSTREAMS): New.
152 Contribution of Jens Seidel.
153 * tests/testsuite.at: Test the new macro.
155 2007-12-03 Benoit Sigoure <tsuna@lrde.epita.fr>
157 Update the documentation.
158 * README: Fix a typo. Mention an inconsistency with BOOST_TEST.
159 * build-aux/boost.m4 (BOOST_REQUIRE): Mention explicitely that
160 VERSION can be of the form "X.Y.Z".
161 Report by Jens Seidel.
163 2007-12-03 Benoit Sigoure <tsuna@lrde.epita.fr>
165 Do not depend on Autoconf 2.61.
166 AS_TEST_X was introduced in 2.61. Alas, 2.60 is still common out
167 there, so let's use $as_executable_p instead.
169 * build-aux/boost.m4 (_BOOST_AC_LINK_IFELSE): Here.
170 Report by Jens Seidel.
172 2007-11-30 Benoit Sigoure <tsuna@lrde.epita.fr>
174 Add support for Boost.Functional/Hash.
175 * README: Mention the new library.
176 * build-aux/boost.m4 (BOOST_HASH): New.
177 * tests/testsuite.at: Test the new macro.
179 2007-11-24 Benoit Sigoure <tsuna@lrde.epita.fr>
184 2007-11-24 Benoit Sigoure <tsuna@lrde.epita.fr>
186 Improve the portability of BOOST_FILESYSTEM.
187 * build-aux/boost.m4: Do not check for boost/filesystem.hpp as it
188 was introduced in 1.34. Check for boost/filesystem/path.hpp
190 Report by Staffan Gimåker.
192 2007-11-21 Benoit Sigoure <tsuna@lrde.epita.fr>
195 * build-aux/boost.m4: Fix a couple of typos.
196 Reported by Akim Demaille.
198 2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
201 * build-aux/boost.m4: Aesthetic changes.
203 2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
205 Add a test for Boost.Wave.
206 * README: Mention the new library.
207 * build-aux/boost.m4 (BOOST_WAVE): New. Contributed by
209 * tests/testsuite.at: Add a test.
211 2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
213 Add checks for Bind, Function and Ref.
214 * README: Mention the new libraries.
215 * build-aux/boost.m4 (BOOST_BIND, BOOST_FUNCTION, BOOST_REF): New.
216 * tests/testsuite.at: Test the new macros.
217 Contribution of Staffan Gimåker.
219 2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
221 Fix the version check.
222 The version check was completely wrong (!) and would always succeed.
223 * build-aux/boost.m4 (BOOST_REQUIRE): Properly compute the various
224 parts of the version (major, minor, sub-minor) from the
225 BOOST_VERSION macro defined in version.hpp.
226 Bug reported by Staffan Gimåker.
228 2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
231 * build-aux/boost.m4: Correct various tyops everywhere.
233 2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
235 Check that version.hpp exists before trying an include path.
236 * build-aux/boost.m4 (BOOST_REQUIRE): Here. This ensures that we
237 don't get the include path wrong *but* the test succeeds because
238 Boost is reachable thanks to the default include path of the
239 compiler. Bug reported by Staffan Gimåker.
241 2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
244 * build-aux/boost.m4: Sort the macros alphabetically (yes, `T' is
247 2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
249 Add support for Date_Time, Regex, Signals and Test.
250 * README: Mention the new libraries.
251 * build-aux/boost.m4 (BOOST_DATE_TIME, BOOST_REGEX, BOOST_SIGNALS)
252 (BOOST_TEST): New tests contributed by Staffan Gimåker.
253 * tests/testsuite.at: Test the new macros.
255 2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
257 Aggressively optimize the checks against Boost libraries.
258 Checking for Boost libraries that require linking was very slow
259 because it took several iteration to discover the proper link flags
260 to use to properly compile+link a C++ test file. The test file was
261 thus compiled over and over again until the right set of flag is
262 found. Compilation is time-consuming, especially with Boost, so the
263 trick is to compile the file once and then try to link it.
264 Unfortunately, Autoconf doesn't seem to allow this and always wants
265 to delete the intermediate object file. This file thus bypasses one
266 of the Autoconf internal macro to retain the object file.
267 On a test case which checks for 2 libraries, the configure time is
268 reduced by a factor of 5 on my laptop (~100s -> ~20s).
269 * build-aux/boost.m4 (BOOST_FIND_LIB): Compile the test file once
270 and then try to link it.
271 (_BOOST_AC_LINK_IFELSE): Fork of the Autoconf macro _AC_LINK_IFELSE.
272 Optimization suggested by Daniel Herring.
274 2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
276 Optimize the detection of preference for MT flavors.
277 * build-aux/boost.m4 (BOOST_FIND_LIB): Move a compilation test...
278 (_BOOST_GUESS_WHETHER_TO_USE_MT): Here. So that the test is only
279 executed once per configure script.
281 2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
283 Fix the test of Boost.Graph.
284 * build-aux/boost.m4 (BOOST_GRAPH): Fix the C++ code used to test
287 2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
289 Do not pollute the user-reserved variables.
290 * build-aux/boost.m4 (BOOST_FIND_LIB): Fix a bug: when a library was
291 found, the LDFLAGS and LIBS weren't properly reset and the macro was
292 thus polluting user-reserved variables. This needs to be tested in
294 Also do not pass -R to the compiler during the tests, this flag is
295 only usable safely with libtool.
297 2007-11-17 Benoit Sigoure <tsuna@lrde.epita.fr>
299 Fix a typo in BOOST_THREADS.
300 * build-aux/boost.m4 (BOOST_THREADS): Properly set
301 `boost_threads_save_CPPFLAGS' to `CPPFLAGS' instead of `LIBS'!
302 Bug reported by Daniel Herring.
304 2007-11-13 Benoit Sigoure <tsuna@lrde.epita.fr>
306 Preserve the original values of --host / --build.
307 This fixes `make check' in cross-compilation environments.
308 * tests/atlocal.in ($build, $host): Replace with ...
309 ($build_alias, $host_alias): ... these. New.
310 * tests/testsuite.at (AT_CHECK_AUTOCONF): Use them here.
312 2007-11-12 Benoit Sigoure <tsuna@lrde.epita.fr>
314 Add keywords to the testsuite.
315 * tests/testsuite.at (AT_CHECK_MACRO, AT_CHECK_MACRO_CROSS): Add an
316 argument in 2nd position (minor backward incompatible change) to
317 specify keywords for the tests.
318 Use keywords for all tests (core/lib/header with or without cross).
320 2007-11-12 Benoit Sigoure <tsuna@lrde.epita.fr>
322 Add tests for Boost.Program_options.
323 * README: Mention the new library.
324 * build-aux/boost.m4 (BOOST_PROGRAM_OPTIONS): New macro.
325 * tests/testsuite.at: Add a test for the new macro.
327 2007-11-03 Benoit Sigoure <tsuna@lrde.epita.fr>
329 Use Libtool and -R to encode run paths.
330 * README: Mention the dependencies more clearly near the beginning.
331 Add a step to use Libtool if it's not already used.
332 * build-aux/boost.m4 (BOOST_FIND_LIB): Add -R flags in the LDFLAGS
333 and fix a bug when --with-boost isn't used which leads to
334 $with_boost being empty which leads that /lib is checked first.
335 * configure.ac: Invoke AC_PROG_LIBTOOL.
336 * tests/testsuite.at (AT_CONFIGURE_AC): Import the content of
337 aclocal.m4 without the m4_include's in order to use AC_PROG_LIBTOOL
338 without getting the hassle of libtoolize.
339 (AT_CHECK_MACRO): Do not pass -W obsolete to autoconf to avoid
340 spurious warnings due to Libtool.
342 2007-11-02 Benoit Sigoure <tsuna@lrde.epita.fr>
344 Another fix for GCC3 and Boost.Thread.
345 * build-aux/boost.m4 (BOOST_THREADS): Put -pthread in
346 BOOST_CPPFLAGS (required for GCC3).
348 2007-11-02 Benoit Sigoure <tsuna@lrde.epita.fr>
350 Change the order of the tests.
351 * tests/testsuite.at: Do the tests that require linking first
352 (because they are more likely to fail).
354 2007-11-02 Benoit Sigoure <tsuna@lrde.epita.fr>
356 Add tests for SmartPtr, StringAlgo, Tribool and Tuple.
357 * README: Mention the new libraries.
358 * build-aux/boost.m4 (BOOST_SMART_PTR, BOOST_STRING_ALGO)
359 (BOOST_TRIBOOL, BOOST_TUPLE): New.
360 * tests/testsuite.at: Test the new macros.
362 2007-11-02 Benoit Sigoure <tsuna@lrde.epita.fr>
367 * README: Mention the license and how to fetch the latest version.
368 * build-aux/boost.m4: Mention how to fetch the latest version.
369 * configure.ac (AM_INIT_AUTOMAKE): Drop `foreign'.
370 * tests/Makefile.am ($(TESTSUITE)): Adjust dependencies to fix
373 2007-11-02 Benoit Sigoure <tsuna@lrde.epita.fr>
375 Properly find the pthreads flags for use with Boost.Thread.
376 * build-aux/boost.m4 (_BOOST_PTHREAD_FLAG): New internal helper.
377 (BOOST_THREADS): Use it. Use the pthread flag during the tests for
379 * tests/testsuite.at: Since the test for Boost.Thread is now more
380 costly, do the cross-compilation test with Boost.Filesystem instead.
382 2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
384 Fix the testsuite to preserve the various arguments of configure.
385 * build-aux/boost.m4 (BOOST_REQUIRE): Define
386 DISTCHECK_CONFIGURE_FLAGS to automatically preserve the --with-boost
388 * configure.ac: Use AC_CANONICAL_HOST.
389 (AC_CONFIG_FILES): Generate tests/package.m4.
390 * tests/Makefile.am (EXTRA_DIST, $(TESTSUITE)): Adjust.
391 No longer need to generate package.m4 since it's now generated from
393 * tests/atlocal.in (CXX, LD, CONFIGURE_FLAGS, build, host): New.
394 * tests/package.m4.in: New.
395 * tests/testsuite.at: Invoke configure with the proper flags (that
396 is, preserve the original configuration).
398 2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
402 * build-aux/boost.m4: Advertise the Git repository.
404 2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
406 Fix the detection of the toolset name for GCC.
407 * build-aux/boost.m4 (_BOOST_gcc_test): New internal helper.
408 (_BOOST_FIND_COMPILER_TAG): Use _BOOST_gcc_test to take into account
409 the minor version number of GCC into the toolset name.
410 * configure.ac: Invoke _BOOST_FIND_COMPILER_TAG to warn earlier
411 about unknown toolsets.
413 2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
415 Add a test for Boost.Variant.
416 * build-aux/boost.m4 (BOOST_VARIANT): New.
417 * tests/testsuite.at: Test the new macro.
419 2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
421 Add tests for Boost.Format and Boost.Utility.
422 * build-aux/boost.m4 (BOOST_FORMAT, BOOST_UTILITY): New.
423 * tests/testsuite.at: Test the new macros.
425 2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
427 Add a check for Boost.Conversion.
428 * build-aux/boost.m4 (BOOST_CONVERSION): New.
429 * tests/testsuite.at: Add a test for the new macro.
431 2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
433 Add a check for Boost.Filesystem.
434 * build-aux/boost.m4 (BOOST_FILESYSTEM): New.
435 * tests/testsuite.at: Add a test for the new macro.
437 2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
439 Add some cross-compilation tests.
440 * tests/testsuite.at: Here.
442 2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
444 Add a check for Boost.Graph.
445 * build-aux/boost.m4 (BOOST_GRAPH): New.
446 * tests/testsuite.at: Test the new macro.
448 2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
450 Add macros for Boost.Foreach and Boost.Threads.
451 * build-aux/boost.m4 (BOOST_FOREACH, BOOST_THREADS): New.
452 * tests/testsuite.at: Test the new macros.
454 2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
457 * configure.ac: Use AC_CONFIG_HEADERS.
458 * tests/Makefile.am (CLEANFILES): New.
459 Make package.m4 depend on Makefile.in. Disable installcheck-local.
461 2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
463 Add macros to check for Boost libraries and headers.
464 * build-aux/boost.m4 (BOOST_REQUIRE): Restrain variable names to the
465 pseudo /_?boost/i namespace. Look up the version string of Boost in
467 (BOOST_FIND_HEADER, BOOST_FIND_LIB): New.
469 2007-10-31 Benoit Sigoure <tsuna@lrde.epita.fr>
472 * Makefile.am (SUBDIRS): New.
473 * configure.ac: Adjust for the testsuite.
474 * tests/Makefile.am: New.
475 * tests/atlocal.in: Copy from Makefile.am.
476 * tests/testsuite.at: New.
478 2007-10-31 Benoit Sigoure <tsuna@lrde.epita.fr>
484 * build-aux/boost.m4: New.
485 (BOOST_REQUIRE): New.