From 9fcf48482626f20151d75a2ebb81371b45d4540a Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Tue, 24 Aug 2010 00:03:52 -0400 Subject: Moved up to Boost 1.44 --- tools/configure.ac | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'tools') diff --git a/tools/configure.ac b/tools/configure.ac index 69874101..92a30431 100644 --- a/tools/configure.ac +++ b/tools/configure.ac @@ -309,10 +309,16 @@ AC_CACHE_CHECK( AC_LINK_IFELSE( [AC_LANG_PROGRAM( [[#include - #include ]], + #include + #include ]], [[namespace io = boost::iostreams; typedef io::stream ofdstream; - ofdstream outstream(1);]])], +#if BOOST_VERSION >= 104400 + ofdstream outstream(1, io::never_close_handle); +#else // BOOST_VERSION >= 104400 + ofdstream outstream(1); +#endif // BOOST_VERSION >= 104400 + ]])], [boost_iostreams_cpplib_avail_cv_=true], [boost_iostreams_cpplib_avail_cv_=false]) AC_LANG_POP -- cgit v1.2.3