Fix detection of Boost graph header

git-svn-id: https://www.dynare.org/svn/dynare/trunk@2931 ac1d8469-bf42-47a9-8791-bf33cf982152
time-shift
sebastien 2009-09-16 13:08:02 +00:00
parent 584994255a
commit 705d1a78ff
1 changed files with 4 additions and 0 deletions

View File

@ -40,7 +40,11 @@ AC_PROG_YACC
AX_PROG_BISON([], AC_MSG_ERROR([No suitable bison found.]))
AX_BOOST_BASE([1.34])
CPPFLAGS_SAVED="$CPPFLAGS"
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
AC_CHECK_HEADERS([boost/graph/adjacency_list.hpp], [], [AC_MSG_ERROR([Can't find Boost Graph Library])])
CPPFLAGS="$CPPFLAGS_SAVED"
# Don't use deprecated hash structures
AC_DEFINE([BOOST_NO_HASH])