Skip to content

Commit

Permalink
Default to standalone build unless boost is explicitly specified.
Browse files Browse the repository at this point in the history
  • Loading branch information
chriskohlhoff committed Mar 10, 2019
1 parent 0b5f03b commit b439f14
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions asio/configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,7 @@ AC_ARG_WITH(boost,
fi
],
[
BOOSTDIR=`ls -1d ../boost_*_*_*/ 2>/dev/null | sort -t "_" -k 2nr -k 3nr -k 4nr | head -n 1 | sed -e 's/\/$//'`
if test "${BOOSTDIR}" != ""; then
BOOSTDIR="`pwd`/${BOOSTDIR}"
if test -d "${BOOSTDIR}"; then
echo "using automatically detected boost from ${BOOSTDIR}"
CPPFLAGS="$CPPFLAGS -I${BOOSTDIR} -DASIO_ENABLE_BOOST -DBOOST_CHRONO_HEADER_ONLY -DBOOST_CHRONO_DONT_PROVIDE_HYBRID_ERROR_HANDLING"
LIBS="$LIBS -L${BOOSTDIR}/stage/lib"
fi
fi
STANDALONE="yes"
])

AC_ARG_ENABLE(separate-compilation,
Expand Down

0 comments on commit b439f14

Please sign in to comment.