"${BOOST_FOLDER}/include\n"
)
- ADD_SUBDIRECTORY(${BOOST_FOLDER}/libs/iostreams/src)
ADD_SUBDIRECTORY(${BOOST_FOLDER}/libs/serialization/src)
IF(DEAL_II_WITH_THREADS AND NOT DEAL_II_USE_CXX11)
#
ADD_SUBDIRECTORY(${BOOST_FOLDER}/libs/thread/src)
ENDIF()
+
+ # BOOST.iostreams is useful, but it requires libbz2 and libz
+ # to be around. Don't do it if we can't find these two libs.
+ IF(DEAL_II_WITH_BZ2LIB AND DEAL_II_WITH_ZLIB)
+ MESSAGE(STATUS "Configuring BOOST Iostreams library")
+ ADD_SUBDIRECTORY(${BOOST_FOLDER}/libs/iostreams/src)
+ ELSE()
+ MESSAGE(STATUS "BOOST.iostream will not be available because libz or libbz2 were not found")
+ ENDIF()
ENDIF()
--- /dev/null
+## ---------------------------------------------------------------------
+## $Id$
+##
+## Copyright (C) 2013 by the deal.II authors
+##
+## This file is part of the deal.II library.
+##
+## The deal.II library is free software; you can use it, redistribute
+## it, and/or modify it under the terms of the GNU Lesser General
+## Public License as published by the Free Software Foundation; either
+## version 2.1 of the License, or (at your option) any later version.
+## The full text of the license can be found in the file LICENSE at
+## the top level of the deal.II distribution.
+##
+## ---------------------------------------------------------------------
+
+#
+# Configuration for the bz2 library:
+#
+
+CONFIGURE_FEATURE(BZip2)
<ol>
<li> New: deal.II now links with the
<a href="http://www.boost.org/doc/libs/1_55_0/libs/iostreams/doc/index.html">BOOST
- Iostreams</a> library. Among many other things, this allows to easily
+ Iostreams</a> library (at least if the libz and libbz2 libraries
+ can be found that are necessary for BOOST Iostreams).
+ Among many other things, this allows to easily
read files that have been compressed, as in the following code snippet:
@code
#include <boost/iostreams/filtering_stream.hpp>