Support Boost.IOStreams.
[boost.m4.git] / ChangeLog
blobebf51ab1331d1d43c9f66b8027dacedd5f64e705
1 2007-12-03  Benoit Sigoure  <tsuna@lrde.epita.fr>
3         Support Boost.IOStreams.
4         * README: Mention the new library.
5         * build-aux/boost.m4 (BOOST_IOSTREAMS): New.
6         Contribution of Jens Seidel.
7         * tests/testsuite.at: Test the new macro.
9 2007-12-03  Benoit Sigoure  <tsuna@lrde.epita.fr>
11         Update the documentation.
12         * README: Fix a typo.  Mention an inconsistency with BOOST_TEST.
13         * build-aux/boost.m4 (BOOST_REQUIRE): Mention explicitely that
14         VERSION can be of the form "X.Y.Z".
15         Report by Jens Seidel.
17 2007-12-03  Benoit Sigoure  <tsuna@lrde.epita.fr>
19         Do not depend on Autoconf 2.61.
20         AS_TEST_X was introduced in 2.61.  Alas, 2.60 is still common out
21         there, so let's use $as_executable_p instead.
22         * THANKS: Update.
23         * build-aux/boost.m4 (_BOOST_AC_LINK_IFELSE): Here.
24         Report by Jens Seidel.
26 2007-11-30  Benoit Sigoure  <tsuna@lrde.epita.fr>
28         Add support for Boost.Functional/Hash.
29         * README: Mention the new library.
30         * build-aux/boost.m4 (BOOST_HASH): New.
31         * tests/testsuite.at: Test the new macro.
33 2007-11-24  Benoit Sigoure  <tsuna@lrde.epita.fr>
35         Add a THANKS file.
36         * THANKS: New.
38 2007-11-24  Benoit Sigoure  <tsuna@lrde.epita.fr>
40         Improve the portability of BOOST_FILESYSTEM.
41         * build-aux/boost.m4: Do not check for boost/filesystem.hpp as it
42         was introduced in 1.34.  Check for boost/filesystem/path.hpp
43         instead.
44         Report by Staffan Gimåker.
46 2007-11-21  Benoit Sigoure  <tsuna@lrde.epita.fr>
48         Comment fixes.
49         * build-aux/boost.m4: Fix a couple of typos.
50         Reported by Akim Demaille.
52 2007-11-20  Benoit Sigoure  <tsuna@lrde.epita.fr>
54         Adjust comments.
55         * build-aux/boost.m4: Aesthetic changes.
57 2007-11-20  Benoit Sigoure  <tsuna@lrde.epita.fr>
59         Add a test for Boost.Wave.
60         * README: Mention the new library.
61         * build-aux/boost.m4 (BOOST_WAVE): New.  Contributed by
62         David Herring.
63         * tests/testsuite.at: Add a test.
65 2007-11-20  Benoit Sigoure  <tsuna@lrde.epita.fr>
67         Add checks for Bind, Function and Ref.
68         * README: Mention the new libraries.
69         * build-aux/boost.m4 (BOOST_BIND, BOOST_FUNCTION, BOOST_REF): New.
70         * tests/testsuite.at: Test the new macros.
71         Contribution of Staffan Gimåker.
73 2007-11-20  Benoit Sigoure  <tsuna@lrde.epita.fr>
75         Fix the version check.
76         The version check was completely wrong (!) and would always succeed.
77         * build-aux/boost.m4 (BOOST_REQUIRE): Properly compute the various
78         parts of the version (major, minor, sub-minor) from the
79         BOOST_VERSION macro defined in version.hpp.
80         Bug reported by Staffan Gimåker.
82 2007-11-20  Benoit Sigoure  <tsuna@lrde.epita.fr>
84         Fix typos.
85         * build-aux/boost.m4: Correct various tyops everywhere.
87 2007-11-20  Benoit Sigoure  <tsuna@lrde.epita.fr>
89         Check that version.hpp exists before trying an include path.
90         * build-aux/boost.m4 (BOOST_REQUIRE): Here.  This ensures that we
91         don't get the include path wrong *but* the test succeeds because
92         Boost is reachable thanks to the default include path of the
93         compiler.  Bug reported by Staffan Gimåker.
95 2007-11-20  Benoit Sigoure  <tsuna@lrde.epita.fr>
97         Re-order the macros.
98         * build-aux/boost.m4: Sort the macros alphabetically (yes, `T' is
99         after `S' :D).
101 2007-11-20  Benoit Sigoure  <tsuna@lrde.epita.fr>
103         Add support for Date_Time, Regex, Signals and Test.
104         * README: Mention the new libraries.
105         * build-aux/boost.m4 (BOOST_DATE_TIME, BOOST_REGEX, BOOST_SIGNALS)
106         (BOOST_TEST): New tests contributed by Staffan Gimåker.
107         * tests/testsuite.at: Test the new macros.
109 2007-11-20  Benoit Sigoure  <tsuna@lrde.epita.fr>
111         Aggressively optimize the checks against Boost libraries.
112         Checking for Boost libraries that require linking was very slow
113         because it took several iteration to discover the proper link flags
114         to use to properly compile+link a C++ test file.  The test file was
115         thus compiled over and over again until the right set of flag is
116         found.  Compilation is time-consuming, especially with Boost, so the
117         trick is to compile the file once and then try to link it.
118         Unfortunately, Autoconf doesn't seem to allow this and always wants
119         to delete the intermediate object file.  This file thus bypasses one
120         of the Autoconf internal macro to retain the object file.
121         On a test case which checks for 2 libraries, the configure time is
122         reduced by a factor of 5 on my laptop (~100s -> ~20s).
123         * build-aux/boost.m4 (BOOST_FIND_LIB): Compile the test file once
124         and then try to link it.
125         (_BOOST_AC_LINK_IFELSE): Fork of the Autoconf macro _AC_LINK_IFELSE.
126         Optimization suggested by David Herring.
128 2007-11-20  Benoit Sigoure  <tsuna@lrde.epita.fr>
130         Optimize the detection of preference for MT flavors.
131         * build-aux/boost.m4 (BOOST_FIND_LIB): Move a compilation test...
132         (_BOOST_GUESS_WHETHER_TO_USE_MT): Here.  So that the test is only
133         executed once per configure script.
135 2007-11-20  Benoit Sigoure  <tsuna@lrde.epita.fr>
137         Fix the test of Boost.Graph.
138         * build-aux/boost.m4 (BOOST_GRAPH): Fix the C++ code used to test
139         the library.
141 2007-11-20  Benoit Sigoure  <tsuna@lrde.epita.fr>
143         Do not pollute the user-reserved variables.
144         * build-aux/boost.m4 (BOOST_FIND_LIB): Fix a bug: when a library was
145         found, the LDFLAGS and LIBS weren't properly reset and the macro was
146         thus polluting user-reserved variables.  This needs to be tested in
147         the testsuite.
148         Also do not pass -R to the compiler during the tests, this flag is
149         only usable safely with libtool.
151 2007-11-17  Benoit Sigoure  <tsuna@lrde.epita.fr>
153         Fix a typo in BOOST_THREADS.
154         * build-aux/boost.m4 (BOOST_THREADS): Properly set
155         `boost_threads_save_CPPFLAGS' to `CPPFLAGS' instead of `LIBS'!
156         Bug reported by David Herring.
158 2007-11-13  Benoit Sigoure  <tsuna@lrde.epita.fr>
160         Preserve the original values of --host / --build.
161         This fixes `make check' in cross-compilation environments.
162         * tests/atlocal.in ($build, $host): Replace with ...
163         ($build_alias, $host_alias): ... these.  New.
164         * tests/testsuite.at (AT_CHECK_AUTOCONF): Use them here.
166 2007-11-12  Benoit Sigoure  <tsuna@lrde.epita.fr>
168         Add keywords to the testsuite.
169         * tests/testsuite.at (AT_CHECK_MACRO, AT_CHECK_MACRO_CROSS): Add an
170         argument in 2nd position (minor backward incompatible change) to
171         specify keywords for the tests.
172         Use keywords for all tests (core/lib/header with or without cross).
174 2007-11-12  Benoit Sigoure  <tsuna@lrde.epita.fr>
176         Add tests for Boost.Program_options.
177         * README: Mention the new library.
178         * build-aux/boost.m4 (BOOST_PROGRAM_OPTIONS): New macro.
179         * tests/testsuite.at: Add a test for the new macro.
181 2007-11-03  Benoit Sigoure  <tsuna@lrde.epita.fr>
183         Use Libtool and -R to encode run paths.
184         * README: Mention the dependencies more clearly near the beginning.
185         Add a step to use Libtool if it's not already used.
186         * build-aux/boost.m4 (BOOST_FIND_LIB): Add -R flags in the LDFLAGS
187         and fix a bug when --with-boost isn't used which leads to
188         $with_boost being empty which leads that /lib is checked first.
189         * configure.ac: Invoke AC_PROG_LIBTOOL.
190         * tests/testsuite.at (AT_CONFIGURE_AC): Import the content of
191         aclocal.m4 without the m4_include's in order to use AC_PROG_LIBTOOL
192         without getting the hassle of libtoolize.
193         (AT_CHECK_MACRO): Do not pass -W obsolete to autoconf to avoid
194         spurious warnings due to Libtool.
196 2007-11-02  Benoit Sigoure  <tsuna@lrde.epita.fr>
198         Another fix for GCC3 and Boost.Thread.
199         * build-aux/boost.m4 (BOOST_THREADS): Put -pthread in
200         BOOST_CPPFLAGS (required for GCC3).
202 2007-11-02  Benoit Sigoure  <tsuna@lrde.epita.fr>
204         Change the order of the tests.
205         * tests/testsuite.at: Do the tests that require linking first
206         (because they are more likely to fail).
208 2007-11-02  Benoit Sigoure  <tsuna@lrde.epita.fr>
210         Add tests for SmartPtr, StringAlgo, Tribool and Tuple.
211         * README: Mention the new libraries.
212         * build-aux/boost.m4 (BOOST_SMART_PTR, BOOST_STRING_ALGO)
213         (BOOST_TRIBOOL, BOOST_TUPLE): New.
214         * tests/testsuite.at: Test the new macros.
216 2007-11-02  Benoit Sigoure  <tsuna@lrde.epita.fr>
218         Fix distcheck.
219         * AUTHORS: New.
220         * NEWS: New.
221         * README: Mention the license and how to fetch the latest version.
222         * build-aux/boost.m4: Mention how to fetch the latest version.
223         * configure.ac (AM_INIT_AUTOMAKE): Drop `foreign'.
224         * tests/Makefile.am ($(TESTSUITE)): Adjust dependencies to fix
225         distcheck.
227 2007-11-02  Benoit Sigoure  <tsuna@lrde.epita.fr>
229         Properly find the pthreads flags for use with Boost.Thread.
230         * build-aux/boost.m4 (_BOOST_PTHREAD_FLAG): New internal helper.
231         (BOOST_THREADS): Use it.  Use the pthread flag during the tests for
232         Boost.Thread.
233         * tests/testsuite.at: Since the test for Boost.Thread is now more
234         costly, do the cross-compilation test with Boost.Filesystem instead.
236 2007-11-01  Benoit Sigoure  <tsuna@lrde.epita.fr>
238         Fix the testsuite to preserve the various arguments of configure.
239         * build-aux/boost.m4 (BOOST_REQUIRE): Define
240         DISTCHECK_CONFIGURE_FLAGS to automatically preserve the --with-boost
241         argument.
242         * configure.ac: Use AC_CANONICAL_HOST.
243         (AC_CONFIG_FILES): Generate tests/package.m4.
244         * tests/Makefile.am (EXTRA_DIST, $(TESTSUITE)): Adjust.
245         No longer need to generate package.m4 since it's now generated from
246         package.m4.in.
247         * tests/atlocal.in (CXX, LD, CONFIGURE_FLAGS, build, host): New.
248         * tests/package.m4.in: New.
249         * tests/testsuite.at: Invoke configure with the proper flags (that
250         is, preserve the original configuration).
252 2007-11-01  Benoit Sigoure  <tsuna@lrde.epita.fr>
254         Add a README.
255         * README: New.
256         * build-aux/boost.m4: Advertise the Git repository.
258 2007-11-01  Benoit Sigoure  <tsuna@lrde.epita.fr>
260         Fix the detection of the toolset name for GCC.
261         * build-aux/boost.m4 (_BOOST_gcc_test): New internal helper.
262         (_BOOST_FIND_COMPILER_TAG): Use _BOOST_gcc_test to take into account
263         the minor version number of GCC into the toolset name.
264         * configure.ac: Invoke _BOOST_FIND_COMPILER_TAG to warn earlier
265         about unknown toolsets.
267 2007-11-01  Benoit Sigoure  <tsuna@lrde.epita.fr>
269         Add a test for Boost.Variant.
270         * build-aux/boost.m4 (BOOST_VARIANT): New.
271         * tests/testsuite.at: Test the new macro.
273 2007-11-01  Benoit Sigoure  <tsuna@lrde.epita.fr>
275         Add tests for Boost.Format and Boost.Utility.
276         * build-aux/boost.m4 (BOOST_FORMAT, BOOST_UTILITY): New.
277         * tests/testsuite.at: Test the new macros.
279 2007-11-01  Benoit Sigoure  <tsuna@lrde.epita.fr>
281         Add a check for Boost.Conversion.
282         * build-aux/boost.m4 (BOOST_CONVERSION): New.
283         * tests/testsuite.at: Add a test for the new macro.
285 2007-11-01  Benoit Sigoure  <tsuna@lrde.epita.fr>
287         Add a check for Boost.Filesystem.
288         * build-aux/boost.m4 (BOOST_FILESYSTEM): New.
289         * tests/testsuite.at: Add a test for the new macro.
291 2007-11-01  Benoit Sigoure  <tsuna@lrde.epita.fr>
293         Add some cross-compilation tests.
294         * tests/testsuite.at: Here.
296 2007-11-01  Benoit Sigoure  <tsuna@lrde.epita.fr>
298         Add a check for Boost.Graph.
299         * build-aux/boost.m4 (BOOST_GRAPH): New.
300         * tests/testsuite.at: Test the new macro.
302 2007-11-01  Benoit Sigoure  <tsuna@lrde.epita.fr>
304         Add macros for Boost.Foreach and Boost.Threads.
305         * build-aux/boost.m4 (BOOST_FOREACH, BOOST_THREADS): New.
306         * tests/testsuite.at: Test the new macros.
308 2007-11-01  Benoit Sigoure  <tsuna@lrde.epita.fr>
310         Fix distcheck.
311         * configure.ac: Use AC_CONFIG_HEADERS.
312         * tests/Makefile.am (CLEANFILES): New.
313         Make package.m4 depend on Makefile.in.  Disable installcheck-local.
315 2007-11-01  Benoit Sigoure  <tsuna@lrde.epita.fr>
317         Add macros to check for Boost libraries and headers.
318         * build-aux/boost.m4 (BOOST_REQUIRE): Restrain variable names to the
319         pseudo /_?boost/i namespace.  Look up the version string of Boost in
320         boost/version.hpp.
321         (BOOST_FIND_HEADER, BOOST_FIND_LIB): New.
323 2007-10-31  Benoit Sigoure  <tsuna@lrde.epita.fr>
325         Add a testsuite.
326         * Makefile.am (SUBDIRS): New.
327         * configure.ac: Adjust for the testsuite.
328         * tests/Makefile.am: New.
329         * tests/atlocal.in: Copy from Makefile.am.
330         * tests/testsuite.at: New.
332 2007-10-31  Benoit Sigoure  <tsuna@lrde.epita.fr>
334         Initial version.
335         * ChangeLog: New.
336         * Makefile.am: New.
337         * bootstrap: New.
338         * build-aux/boost.m4: New.
339         (BOOST_REQUIRE): New.
340         * configure.ac: New.