Wrong configure variable names for Boost

This commit is contained in:
Moritz Bunkus 2010-12-26 00:37:43 +01:00
parent 6ebddaf009
commit a3faf25306

View File

@ -19,7 +19,7 @@ AC_DEFUN([AX_BOOST_PROPERTY_TREE],[
AC_CACHE_CHECK([which boost/property_tree/ptree.hpp to use],
[ax_cv_boost_property_tree],[
CXXFLAGS_SAVED="$CXXFLAGS"
CXXFLAGS="$CXXFLAGS $BOOST_CXXFLAGS"
CXXFLAGS="$CXXFLAGS $BOOST_CPPFLAGS"
export CXXFLAGS
LDFLAGS_SAVED="$LDFLAGS"
@ -29,7 +29,7 @@ AC_DEFUN([AX_BOOST_PROPERTY_TREE],[
AX_BOOST_PROPERTY_TREE_TRY_COMPILE(system)
if test x"$ax_cv_boost_property_tree" = "xno"; then
CXXFLAGS="-I$included_boost_exception_dir -I$included_boost_dir $CXXFLAGS_SAVED $BOOST_CXXFLAGS"
CXXFLAGS="-I$included_boost_exception_dir -I$included_boost_dir $CXXFLAGS_SAVED $BOOST_CPPFLAGS"
export CXXFLAGS
AX_BOOST_PROPERTY_TREE_TRY_COMPILE(included)