[vlc-devel] [PATCH] configure: fix using protoc from the built tools
Steve Lhomme
robux4 at ycbcr.xyz
Wed May 16 16:01:55 CEST 2018
Otherwise we don't have the proper path.
If it's on the system this will still work.
---
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 4a53c2ea2c..67c4b2da84 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3635,7 +3635,7 @@ dnl Chromecast streaming support
dnl
m4_pushdef([protobuf_lite_version], 2.5.0)
AC_ARG_VAR(PROTOC, [protobuf compiler])
-AC_CHECK_PROGS(PROTOC, protoc, no)
+AC_PATH_PROGS(PROTOC, protoc, no)
PKG_WITH_MODULES([CHROMECAST],[protobuf-lite >= protobuf_lite_version], [
AS_IF([test "x${PROTOC}" != "xno"], [
build_chromecast="yes"
--
2.17.0
More information about the vlc-devel
mailing list