diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 12 |
1 files changed, 9 insertions, 3 deletions
@@ -704,13 +704,11 @@ process_toolchain() { enabled postproc || die "postproc_visualizer requires postproc to be enabled" fi - # Enable WebM IO by default. - soft_enable webm_io - # Enable unit tests by default if we have a working C++ compiler. case "$toolchain" in *-vs*) soft_enable unit_tests + soft_enable webm_io ;; *-android-*) # GTestLog must be modified to use Android logging utilities. @@ -726,13 +724,21 @@ process_toolchain() { check_cxx "$@" <<EOF && soft_enable unit_tests int z; EOF + check_cxx "$@" <<EOF && soft_enable webm_io +int z; +EOF ;; *) enabled pthread_h && check_cxx "$@" <<EOF && soft_enable unit_tests int z; EOF + check_cxx "$@" <<EOF && soft_enable webm_io +int z; +EOF ;; esac + # libwebm needs to be linked with C++ standard library + enabled webm_io && LD=${CXX} } |