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