]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
configure: Be more verbose about why the grpc plugin cannot be built. 2593/head
authorFlorian Forster <octo@google.com>
Wed, 6 Dec 2017 09:00:09 +0000 (10:00 +0100)
committerFlorian Forster <octo@collectd.org>
Wed, 6 Dec 2017 09:00:09 +0000 (10:00 +0100)
configure.ac

index 6f947be0811c816c7e1f230b9686521930206551..db4cae6ffa9b62df25e17bf97ab131da3dcf4d44 100644 (file)
@@ -6383,8 +6383,18 @@ if test "x$with_libgps" = "xyes"; then
   plugin_gps="yes"
 fi
 
-if test "x$with_libgrpcpp" = "xyes" && test "x$with_libprotobuf" = "xyes" && test "x$have_protoc3" = "xyes" && test "x$GRPC_CPP_PLUGIN" != "x"; then
-  plugin_grpc="yes"
+plugin_grpc="yes"
+if test "x$GRPC_CPP_PLUGIN" = "x"; then
+  plugin_grpc="no (grpc_cpp_plugin not found)"
+fi
+if test "x$have_protoc3" != "xyes"; then
+  plugin_grpc="no (protoc3 not found)"
+fi
+if test "x$with_libprotobuf" != "xyes"; then
+  plugin_grpc="no (libprotobuf not found)"
+fi
+if test "x$with_libgrpcpp" != "xyes"; then
+  plugin_grpc="no (libgrpc++ not found)"
 fi
 
 if test "x$have_getifaddrs" = "xyes"; then