From 872526fc45211a9211c5d7d9a0dcdbcbff6bd313 Mon Sep 17 00:00:00 2001 From: Benoit Sigoure Date: Mon, 3 Dec 2007 09:06:31 +0100 Subject: [PATCH] Support Boost.IOStreams. * README: Mention the new library. * build-aux/boost.m4 (BOOST_IOSTREAMS): New. Contribution of Jens Seidel. * tests/testsuite.at: Test the new macro. Signed-off-by: Benoit Sigoure --- ChangeLog | 8 ++++++++ README | 1 + build-aux/boost.m4 | 11 +++++++++++ tests/testsuite.at | 1 + 4 files changed, 21 insertions(+) diff --git a/ChangeLog b/ChangeLog index e101630..ebf51ab 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,13 @@ 2007-12-03 Benoit Sigoure + Support Boost.IOStreams. + * README: Mention the new library. + * build-aux/boost.m4 (BOOST_IOSTREAMS): New. + Contribution of Jens Seidel. + * tests/testsuite.at: Test the new macro. + +2007-12-03 Benoit Sigoure + Update the documentation. * README: Fix a typo. Mention an inconsistency with BOOST_TEST. * build-aux/boost.m4 (BOOST_REQUIRE): Mention explicitely that diff --git a/README b/README index f421dd7..8e686c9 100644 --- a/README +++ b/README @@ -125,6 +125,7 @@ The following libraries are supported: - Date_Time - Filesystem - Graph + - IOStreams - Program_options - Regex - Signals diff --git a/build-aux/boost.m4 b/build-aux/boost.m4 index 25f2175..a40a3db 100644 --- a/build-aux/boost.m4 +++ b/build-aux/boost.m4 @@ -388,6 +388,17 @@ AC_DEFUN([BOOST_GRAPH], ])# BOOST_GRAPH +# BOOST_IOSTREAMS([PREFERRED-RT-OPT]) +# ------------------------------- +# Look for Boost.IOStreams. For the documentation of PREFERRED-RT-OPT, see the +# documentation of BOOST_FIND_LIB above. +AC_DEFUN([BOOST_IOSTREAMS], +[BOOST_FIND_LIB([iostreams], [$1], + [boost/iostreams/device/file_descriptor.hpp], + [boost::iostreams::file_descriptor fd(0); fd.close();]) +])# BOOST_IOSTREAMS + + # BOOST_HASH() # ------------ # Look for Boost.Functional/Hash diff --git a/tests/testsuite.at b/tests/testsuite.at index 1c4ab18..8d1ccb8 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -261,6 +261,7 @@ AT_BANNER([Boost libraries]) AT_CHECK_MACRO([BOOST_DATE_TIME], [lib]) AT_CHECK_MACRO_CROSS([BOOST_FILESYSTEM], [lib]) AT_CHECK_MACRO([BOOST_GRAPH], [lib]) +AT_CHECK_MACRO([BOOST_IOSTREAMS], [lib]) AT_CHECK_MACRO([BOOST_PROGRAM_OPTIONS], [lib]) AT_CHECK_MACRO([BOOST_SIGNALS], [lib]) AT_CHECK_MACRO([BOOST_REGEX], [lib]) -- 2.11.4.GIT