blob: 1f1a806a4becb3e10be906bc312bd7aa75bece96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
dnl The line below isn't really a comment, so don't remove
dnl AC_OUTPUT(indexlib/indexlib-config)
AC_ARG_WITH(boost-includedir,
AC_HELP_STRING([--with-boost-includedir],
[Specify the path to boost's headers]),
boost_includedir="$withval")
AC_LANG_PUSH(C++)
if test "x$boost_includedir" != "x"; then
CXXFLAGS="-I$boost_includedir $CXXFLAGS"
fi
KDE_CHECK_HEADER(boost/format.hpp, have_boost=yes,have_boost=no)
AC_LANG_POP
if test "x$have_boost" = "xyes"; then
CXXFLAGS="-DHAVE_BOOST $CXXFLAGS"
fi
|