summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-08-24 00:03:52 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-08-24 00:03:52 -0400
commit9fcf48482626f20151d75a2ebb81371b45d4540a (patch)
tree48424a9a1f70fba360aba940669e031287b1a9c6 /tools
parentff07cc6c6fe38467b897d5b665c81fcfc49e3620 (diff)
downloadfork-ledger-9fcf48482626f20151d75a2ebb81371b45d4540a.tar.gz
fork-ledger-9fcf48482626f20151d75a2ebb81371b45d4540a.tar.bz2
fork-ledger-9fcf48482626f20151d75a2ebb81371b45d4540a.zip
Moved up to Boost 1.44
Diffstat (limited to 'tools')
-rw-r--r--tools/configure.ac10
1 files changed, 8 insertions, 2 deletions
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 <boost/iostreams/device/file_descriptor.hpp>
- #include <boost/iostreams/stream.hpp>]],
+ #include <boost/iostreams/stream.hpp>
+ #include <boost/version.hpp>]],
[[namespace io = boost::iostreams;
typedef io::stream<io::file_descriptor_sink> 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