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