diff options
author | Tristan Matthews <tmatth@videolan.org> | 2017-11-03 17:33:12 +0300 |
---|---|---|
committer | Tristan Matthews <tmatth@videolan.org> | 2017-11-03 17:33:12 +0300 |
commit | 83f96c9c331ceb2a3669e57a61b79992ec966858 (patch) | |
tree | 47b5b618d1aba406f6d36c42d1379235e2efebdb | |
parent | dd8e04fb89a30d74643f64b6fee750b5daad9fd7 (diff) |
configure: --disable-binaries should be off by default
-rw-r--r-- | configure.ac | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/configure.ac b/configure.ac index dc6dbbc..7790653 100644 --- a/configure.ac +++ b/configure.ac @@ -167,13 +167,11 @@ AC_ARG_ENABLE(float-api, [ --disable-float-api Disable the floating-point A fi]) AC_ARG_ENABLE(binaries, [ --disable-binaries Do not build the encoder and decoder programs, only the library]) -if test "$enableval" != no; then +AS_IF([test "x$enable_binaries" != "xno"], [ PKG_CHECK_MODULES([OGG], [ogg], AM_CONDITIONAL([BUILD_BINARIES], true), - AM_CONDITIONAL([BUILD_BINARIES], false)) -else - AM_CONDITIONAL([BUILD_BINARIES], false) -fi + AM_CONDITIONAL([BUILD_BINARIES], false))], + [AM_CONDITIONAL([BUILD_BINARIES], false)]) AC_ARG_ENABLE(vbr, [ --disable-vbr Disable VBR and VAD from the codec], [if test "$enableval" = no; then |