summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2011-02-04 23:07:39 -0500
committerJohn Wiegley <johnw@newartisans.com>2011-02-04 23:07:39 -0500
commit986afb43d0095284902e9696f4a8cc5fda73af2d (patch)
tree2d7b6ae32226b8058428cab0944a99f342599a22 /tools
parent0f8e0251f412f82fe3217f3a301ba0f3574aea12 (diff)
downloadfork-ledger-986afb43d0095284902e9696f4a8cc5fda73af2d.tar.gz
fork-ledger-986afb43d0095284902e9696f4a8cc5fda73af2d.tar.bz2
fork-ledger-986afb43d0095284902e9696f4a8cc5fda73af2d.zip
Define BOOST_IOSTREAMS_USE_DEPRECATED
Diffstat (limited to 'tools')
-rw-r--r--tools/configure.ac3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/configure.ac b/tools/configure.ac
index 028727a8..c3a913e6 100644
--- a/tools/configure.ac
+++ b/tools/configure.ac
@@ -308,7 +308,8 @@ AC_CACHE_CHECK(
AC_LANG_PUSH(C++)
AC_LINK_IFELSE(
[AC_LANG_PROGRAM(
- [[#include <boost/iostreams/device/file_descriptor.hpp>
+ [[#define BOOST_IOSTREAMS_USE_DEPRECATED 1
+ #include <boost/iostreams/device/file_descriptor.hpp>
#include <boost/iostreams/stream.hpp>
#include <boost/version.hpp>]],
[[namespace io = boost::iostreams;