0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-06-17 09:28:21 +02:00

configure: Fix boost patch level variable.

This commit is contained in:
Jason Volk 2017-11-30 11:20:47 -08:00
parent 7ef3b67213
commit f6e0a8e143

View file

@ -691,6 +691,7 @@ dnl boost support
dnl dnl
BOOST_VERSION_MIN="1.61" BOOST_VERSION_MIN="1.61"
BOOST_VERSION_MIN_PATCH="0"
BOOST_BUILT_LIBS="system,filesystem,context,coroutine" BOOST_BUILT_LIBS="system,filesystem,context,coroutine"
AC_MSG_CHECKING([whether you asked to use boost sources included here]) AC_MSG_CHECKING([whether you asked to use boost sources included here])
@ -728,7 +729,7 @@ AC_HELP_STRING([--with-included-boost[[[=shared]]]], [Use the boost sources from
fi fi
boost_linkage="$withval" boost_linkage="$withval"
boost_version="boost-${BOOST_VERSION_MIN}.0" boost_version="boost-${BOOST_VERSION_MIN}.${BOOST_VERSION_MIN_PATCH}"
bash tools/boostrap.sh $BTOOLSET $BOOST_BUILT_LIBS release $withval multi $boost_version bash tools/boostrap.sh $BTOOLSET $BOOST_BUILT_LIBS release $withval multi $boost_version
if [[ $? != 0 ]]; then if [[ $? != 0 ]]; then
AC_MSG_ERROR([Failed to build included boost.]) AC_MSG_ERROR([Failed to build included boost.])