1 2007-11-24 Benoit Sigoure <tsuna@lrde.epita.fr>
6 2007-11-24 Benoit Sigoure <tsuna@lrde.epita.fr>
8 Improve the portability of BOOST_FILESYSTEM.
9 * build-aux/boost.m4: Do not check for boost/filesystem.hpp as it
10 was introduced in 1.34. Check for boost/filesystem/path.hpp
12 Report by Staffan Gimåker.
14 2007-11-21 Benoit Sigoure <tsuna@lrde.epita.fr>
17 * build-aux/boost.m4: Fix a couple of typos.
18 Reported by Akim Demaille.
20 2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
23 * build-aux/boost.m4: Aesthetic changes.
25 2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
27 Add a test for Boost.Wave.
28 * README: Mention the new library.
29 * build-aux/boost.m4 (BOOST_WAVE): New. Contributed by
31 * tests/testsuite.at: Add a test.
33 2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
35 Add checks for Bind, Function and Ref.
36 * README: Mention the new libraries.
37 * build-aux/boost.m4 (BOOST_BIND, BOOST_FUNCTION, BOOST_REF): New.
38 * tests/testsuite.at: Test the new macros.
39 Contribution of Staffan Gimåker.
41 2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
43 Fix the version check.
44 The version check was completely wrong (!) and would always succeed.
45 * build-aux/boost.m4 (BOOST_REQUIRE): Properly compute the various
46 parts of the version (major, minor, sub-minor) from the
47 BOOST_VERSION macro defined in version.hpp.
48 Bug reported by Staffan Gimåker.
50 2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
53 * build-aux/boost.m4: Correct various tyops everywhere.
55 2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
57 Check that version.hpp exists before trying an include path.
58 * build-aux/boost.m4 (BOOST_REQUIRE): Here. This ensures that we
59 don't get the include path wrong *but* the test succeeds because
60 Boost is reachable thanks to the default include path of the
61 compiler. Bug reported by Staffan Gimåker.
63 2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
66 * build-aux/boost.m4: Sort the macros alphabetically (yes, `T' is
69 2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
71 Add support for Date_Time, Regex, Signals and Test.
72 * README: Mention the new libraries.
73 * build-aux/boost.m4 (BOOST_DATE_TIME, BOOST_REGEX, BOOST_SIGNALS)
74 (BOOST_TEST): New tests contributed by Staffan Gimåker.
75 * tests/testsuite.at: Test the new macros.
77 2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
79 Aggressively optimize the checks against Boost libraries.
80 Checking for Boost libraries that require linking was very slow
81 because it took several iteration to discover the proper link flags
82 to use to properly compile+link a C++ test file. The test file was
83 thus compiled over and over again until the right set of flag is
84 found. Compilation is time-consuming, especially with Boost, so the
85 trick is to compile the file once and then try to link it.
86 Unfortunately, Autoconf doesn't seem to allow this and always wants
87 to delete the intermediate object file. This file thus bypasses one
88 of the Autoconf internal macro to retain the object file.
89 On a test case which checks for 2 libraries, the configure time is
90 reduced by a factor of 5 on my laptop (~100s -> ~20s).
91 * build-aux/boost.m4 (BOOST_FIND_LIB): Compile the test file once
92 and then try to link it.
93 (_BOOST_AC_LINK_IFELSE): Fork of the Autoconf macro _AC_LINK_IFELSE.
94 Optimization suggested by David Herring.
96 2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
98 Optimize the detection of preference for MT flavors.
99 * build-aux/boost.m4 (BOOST_FIND_LIB): Move a compilation test...
100 (_BOOST_GUESS_WHETHER_TO_USE_MT): Here. So that the test is only
101 executed once per configure script.
103 2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
105 Fix the test of Boost.Graph.
106 * build-aux/boost.m4 (BOOST_GRAPH): Fix the C++ code used to test
109 2007-11-20 Benoit Sigoure <tsuna@lrde.epita.fr>
111 Do not pollute the user-reserved variables.
112 * build-aux/boost.m4 (BOOST_FIND_LIB): Fix a bug: when a library was
113 found, the LDFLAGS and LIBS weren't properly reset and the macro was
114 thus polluting user-reserved variables. This needs to be tested in
116 Also do not pass -R to the compiler during the tests, this flag is
117 only usable safely with libtool.
119 2007-11-17 Benoit Sigoure <tsuna@lrde.epita.fr>
121 Fix a typo in BOOST_THREADS.
122 * build-aux/boost.m4 (BOOST_THREADS): Properly set
123 `boost_threads_save_CPPFLAGS' to `CPPFLAGS' instead of `LIBS'!
124 Bug reported by David Herring.
126 2007-11-13 Benoit Sigoure <tsuna@lrde.epita.fr>
128 Preserve the original values of --host / --build.
129 This fixes `make check' in cross-compilation environments.
130 * tests/atlocal.in ($build, $host): Replace with ...
131 ($build_alias, $host_alias): ... these. New.
132 * tests/testsuite.at (AT_CHECK_AUTOCONF): Use them here.
134 2007-11-12 Benoit Sigoure <tsuna@lrde.epita.fr>
136 Add keywords to the testsuite.
137 * tests/testsuite.at (AT_CHECK_MACRO, AT_CHECK_MACRO_CROSS): Add an
138 argument in 2nd position (minor backward incompatible change) to
139 specify keywords for the tests.
140 Use keywords for all tests (core/lib/header with or without cross).
142 2007-11-12 Benoit Sigoure <tsuna@lrde.epita.fr>
144 Add tests for Boost.Program_options.
145 * README: Mention the new library.
146 * build-aux/boost.m4 (BOOST_PROGRAM_OPTIONS): New macro.
147 * tests/testsuite.at: Add a test for the new macro.
149 2007-11-03 Benoit Sigoure <tsuna@lrde.epita.fr>
151 Use Libtool and -R to encode run paths.
152 * README: Mention the dependencies more clearly near the beginning.
153 Add a step to use Libtool if it's not already used.
154 * build-aux/boost.m4 (BOOST_FIND_LIB): Add -R flags in the LDFLAGS
155 and fix a bug when --with-boost isn't used which leads to
156 $with_boost being empty which leads that /lib is checked first.
157 * configure.ac: Invoke AC_PROG_LIBTOOL.
158 * tests/testsuite.at (AT_CONFIGURE_AC): Import the content of
159 aclocal.m4 without the m4_include's in order to use AC_PROG_LIBTOOL
160 without getting the hassle of libtoolize.
161 (AT_CHECK_MACRO): Do not pass -W obsolete to autoconf to avoid
162 spurious warnings due to Libtool.
164 2007-11-02 Benoit Sigoure <tsuna@lrde.epita.fr>
166 Another fix for GCC3 and Boost.Thread.
167 * build-aux/boost.m4 (BOOST_THREADS): Put -pthread in
168 BOOST_CPPFLAGS (required for GCC3).
170 2007-11-02 Benoit Sigoure <tsuna@lrde.epita.fr>
172 Change the order of the tests.
173 * tests/testsuite.at: Do the tests that require linking first
174 (because they are more likely to fail).
176 2007-11-02 Benoit Sigoure <tsuna@lrde.epita.fr>
178 Add tests for SmartPtr, StringAlgo, Tribool and Tuple.
179 * README: Mention the new libraries.
180 * build-aux/boost.m4 (BOOST_SMART_PTR, BOOST_STRING_ALGO)
181 (BOOST_TRIBOOL, BOOST_TUPLE): New.
182 * tests/testsuite.at: Test the new macros.
184 2007-11-02 Benoit Sigoure <tsuna@lrde.epita.fr>
189 * README: Mention the license and how to fetch the latest version.
190 * build-aux/boost.m4: Mention how to fetch the latest version.
191 * configure.ac (AM_INIT_AUTOMAKE): Drop `foreign'.
192 * tests/Makefile.am ($(TESTSUITE)): Adjust dependencies to fix
195 2007-11-02 Benoit Sigoure <tsuna@lrde.epita.fr>
197 Properly find the pthreads flags for use with Boost.Thread.
198 * build-aux/boost.m4 (_BOOST_PTHREAD_FLAG): New internal helper.
199 (BOOST_THREADS): Use it. Use the pthread flag during the tests for
201 * tests/testsuite.at: Since the test for Boost.Thread is now more
202 costly, do the cross-compilation test with Boost.Filesystem instead.
204 2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
206 Fix the testsuite to preserve the various arguments of configure.
207 * build-aux/boost.m4 (BOOST_REQUIRE): Define
208 DISTCHECK_CONFIGURE_FLAGS to automatically preserve the --with-boost
210 * configure.ac: Use AC_CANONICAL_HOST.
211 (AC_CONFIG_FILES): Generate tests/package.m4.
212 * tests/Makefile.am (EXTRA_DIST, $(TESTSUITE)): Adjust.
213 No longer need to generate package.m4 since it's now generated from
215 * tests/atlocal.in (CXX, LD, CONFIGURE_FLAGS, build, host): New.
216 * tests/package.m4.in: New.
217 * tests/testsuite.at: Invoke configure with the proper flags (that
218 is, preserve the original configuration).
220 2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
224 * build-aux/boost.m4: Advertise the Git repository.
226 2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
228 Fix the detection of the toolset name for GCC.
229 * build-aux/boost.m4 (_BOOST_gcc_test): New internal helper.
230 (_BOOST_FIND_COMPILER_TAG): Use _BOOST_gcc_test to take into account
231 the minor version number of GCC into the toolset name.
232 * configure.ac: Invoke _BOOST_FIND_COMPILER_TAG to warn earlier
233 about unknown toolsets.
235 2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
237 Add a test for Boost.Variant.
238 * build-aux/boost.m4 (BOOST_VARIANT): New.
239 * tests/testsuite.at: Test the new macro.
241 2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
243 Add tests for Boost.Format and Boost.Utility.
244 * build-aux/boost.m4 (BOOST_FORMAT, BOOST_UTILITY): New.
245 * tests/testsuite.at: Test the new macros.
247 2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
249 Add a check for Boost.Conversion.
250 * build-aux/boost.m4 (BOOST_CONVERSION): New.
251 * tests/testsuite.at: Add a test for the new macro.
253 2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
255 Add a check for Boost.Filesystem.
256 * build-aux/boost.m4 (BOOST_FILESYSTEM): New.
257 * tests/testsuite.at: Add a test for the new macro.
259 2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
261 Add some cross-compilation tests.
262 * tests/testsuite.at: Here.
264 2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
266 Add a check for Boost.Graph.
267 * build-aux/boost.m4 (BOOST_GRAPH): New.
268 * tests/testsuite.at: Test the new macro.
270 2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
272 Add macros for Boost.Foreach and Boost.Threads.
273 * build-aux/boost.m4 (BOOST_FOREACH, BOOST_THREADS): New.
274 * tests/testsuite.at: Test the new macros.
276 2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
279 * configure.ac: Use AC_CONFIG_HEADERS.
280 * tests/Makefile.am (CLEANFILES): New.
281 Make package.m4 depend on Makefile.in. Disable installcheck-local.
283 2007-11-01 Benoit Sigoure <tsuna@lrde.epita.fr>
285 Add macros to check for Boost libraries and headers.
286 * build-aux/boost.m4 (BOOST_REQUIRE): Restrain variable names to the
287 pseudo /_?boost/i namespace. Look up the version string of Boost in
289 (BOOST_FIND_HEADER, BOOST_FIND_LIB): New.
291 2007-10-31 Benoit Sigoure <tsuna@lrde.epita.fr>
294 * Makefile.am (SUBDIRS): New.
295 * configure.ac: Adjust for the testsuite.
296 * tests/Makefile.am: New.
297 * tests/atlocal.in: Copy from Makefile.am.
298 * tests/testsuite.at: New.
300 2007-10-31 Benoit Sigoure <tsuna@lrde.epita.fr>
306 * build-aux/boost.m4: New.
307 (BOOST_REQUIRE): New.