summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorDaniel Burrows <dburrows@debian.org>2011-06-25 14:55:18 -0700
committerDaniel Burrows <dburrows@debian.org>2011-06-25 14:55:18 -0700
commitbd820a6b063c1fcd34e82554bb24296800223621 (patch)
tree3f13939f8ab75d69b6ee826dc5d602283287b882 /m4
parent00f85d333b67cd98618640700320128bb95649f1 (diff)
downloadaptitude-bd820a6b063c1fcd34e82554bb24296800223621.tar.gz
Clean up the use of AC_COMPILE_IFELSE and AC_LINK_IFELSE to fix a bunch of autoconf warnings.
Diffstat (limited to 'm4')
-rw-r--r--m4/ax_boost_iostreams.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ax_boost_iostreams.m4 b/m4/ax_boost_iostreams.m4
index 40d39f97..4976a9c9 100644
--- a/m4/ax_boost_iostreams.m4
+++ b/m4/ax_boost_iostreams.m4
@@ -57,14 +57,14 @@ AC_DEFUN([AX_BOOST_IOSTREAMS],
AC_CACHE_CHECK(whether the Boost::IOStreams library is available,
ax_cv_boost_iostreams,
[AC_LANG_PUSH([C++])
- AC_COMPILE_IFELSE(AC_LANG_PROGRAM([[@%:@include <boost/iostreams/filtering_stream.hpp>
+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[@%:@include <boost/iostreams/filtering_stream.hpp>
@%:@include <boost/range/iterator_range.hpp>
]],
[[std::string input = "Hello World!";
namespace io = boost::iostreams;
io::filtering_istream in(boost::make_iterator_range(input));
return 0;
- ]]),
+ ]])],
ax_cv_boost_iostreams=yes, ax_cv_boost_iostreams=no)
AC_LANG_POP([C++])
])