Change to use boost version 1.30.0 automatically if it located in the same

directory as the asio project.
This commit is contained in:
chris 2003-09-13 05:23:52 +00:00
parent 5fc0ed001d
commit 8fa83024dc

View File

@ -13,6 +13,13 @@ AC_ARG_WITH(boost,
[
CPPFLAGS="$CPPFLAGS -I${withval}"
LDFLAGS="$LDFLAGS -L${withval}/libs/thread/build/bin-stage"
],
[
BOOSTDIR="`pwd`/../boost_1_30_0"
if test -d "${BOOSTDIR}"; then
CPPFLAGS="$CPPFLAGS -I${BOOSTDIR}"
LDFLAGS="$LDFLAGS -L${BOOSTDIR}/libs/thread/build/bin-stage"
fi
])
AC_CHECK_HEADER([boost/thread.hpp],,