Fix detection of Boost graph header
git-svn-id: https://www.dynare.org/svn/dynare/trunk@2931 ac1d8469-bf42-47a9-8791-bf33cf982152time-shift
parent
584994255a
commit
705d1a78ff
|
@ -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])
|
||||
|
|
Loading…
Reference in New Issue