From: John Koleszar Date: Tue, 22 May 2012 18:51:14 +0000 (-0700) Subject: Enable unit tests by default X-Git-Tag: v1.2.0~195^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2bf62c1dbb191861fe50d3c71e6a51372d46327e;p=libvpx Enable unit tests by default Build unit tests by default if there is a working C++ toolchain available. Change-Id: I511558339b332fadfde37ef01b2dbf2755f48f89 --- diff --git a/configure b/configure index 2b1328dbd..eed6f970b 100755 --- a/configure +++ b/configure @@ -586,6 +586,16 @@ process_toolchain() { if enabled postproc_visualizer; then enabled postproc || die "postproc_visualizer requires postproc to be enabled" fi + + # Enable unit tests if we have a working C++ compiler + case "$tgt_cc" in + vs*) + soft_enable unit_tests;; + *) + check_cxx "$@" <