configure: don't build chromecast with --disable-chromecast

This commit is contained in:
Steve Lhomme 2022-11-03 15:54:09 +01:00 committed by François Cartegnie
parent 213413f4c6
commit c3cf379a82
1 changed files with 2 additions and 2 deletions

View File

@ -3853,7 +3853,7 @@ PKG_WITH_MODULES([CHROMECAST],[protobuf-lite], [],[
],[
AC_MSG_WARN(Library protobuf-lite needed for [chromecast] was not found)
])
build_chromecast=no
enable_chromecast=no
], [(Chromecast streaming support)], [auto])
AC_ARG_VAR(PROTOC, [protobuf compiler])
@ -3905,7 +3905,7 @@ AS_IF([test -n "$PKG_CONFIG"],[
])
])
])
AM_CONDITIONAL([BUILD_CHROMECAST], [test "${build_chromecast}" != "no" -a "${protoc_matching}" = yes])
AM_CONDITIONAL([BUILD_CHROMECAST], [test "${enable_chromecast}" != "no" -a "${protoc_matching}" = yes])
dnl
dnl Interface plugins