From: Florian Forster Date: Wed, 6 Dec 2017 09:00:09 +0000 (+0100) Subject: configure: Be more verbose about why the grpc plugin cannot be built. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=6a085256bb28d7542c22d6499668f8eb24f90444;p=collectd.git configure: Be more verbose about why the grpc plugin cannot be built. --- diff --git a/configure.ac b/configure.ac index 6f947be0..db4cae6f 100644 --- a/configure.ac +++ b/configure.ac @@ -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