enable third-party for asio_lib too

Since this library uses the third-party subdir, make sure we auto-enable
it when that lib is turned on.
This commit is contained in:
Mike Frysinger 2015-06-17 13:29:37 -04:00
parent 90bcdb0dda
commit 19309823aa
1 changed files with 4 additions and 3 deletions

View File

@ -464,11 +464,12 @@ fi
AM_CONDITIONAL([ENABLE_EXAMPLES], [ test "x${enable_examples}" = "xyes" ]) AM_CONDITIONAL([ENABLE_EXAMPLES], [ test "x${enable_examples}" = "xyes" ])
# third-party only be built if either enable_examples or enable_app is # third-party only be built when needed
# yes
enable_third_party=no enable_third_party=no
if test "x${enable_examples}" = "xyes" || test "x${enable_app}" = "xyes"; then if test "x${enable_examples}" = "xyes" ||
test "x${enable_app}" = "xyes" ||
test "x${enable_asio_lib}" = "xyes"; then
enable_third_party=yes enable_third_party=yes
fi fi