Check Boost library only when it is requested
This commit is contained in:
parent
b48ceac56c
commit
d25b9da9f6
|
@ -337,6 +337,7 @@ AM_CONDITIONAL([HAVE_SPDYLAY], [ test "x${have_spdylay}" = "xyes" ])
|
||||||
# Check Boost Asio library
|
# Check Boost Asio library
|
||||||
have_asio_lib=no
|
have_asio_lib=no
|
||||||
|
|
||||||
|
if test "x${request_asio_lib}" = "xyes"; then
|
||||||
AX_BOOST_BASE([1.54.0], [have_boost_base=yes], [have_boost_base=no])
|
AX_BOOST_BASE([1.54.0], [have_boost_base=yes], [have_boost_base=no])
|
||||||
|
|
||||||
if test "x${have_boost_base}" = "xyes"; then
|
if test "x${have_boost_base}" = "xyes"; then
|
||||||
|
@ -350,6 +351,7 @@ if test "x${have_boost_base}" = "xyes"; then
|
||||||
have_asio_lib=yes
|
have_asio_lib=yes
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
# The nghttp, nghttpd and nghttpx under src depend on zlib, OpenSSL
|
# The nghttp, nghttpd and nghttpx under src depend on zlib, OpenSSL
|
||||||
# and libevent_openssl
|
# and libevent_openssl
|
||||||
|
|
Loading…
Reference in New Issue