diff options
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 4b42d8481b..f9d051548d 100644 --- a/configure.ac +++ b/configure.ac @@ -700,6 +700,7 @@ AS_IF( ) else AC_MSG_NOTICE([using bundled protobuf]) + AC_DEFINE([BUNDLED_PROTOBUF], [1], [Using a bundled copy of protobuf]) PROTOC="\$(abs_top_srcdir)/externaldeps/protobuf/src/protoc" PROTOBUF_CFLAGS="-I \$(abs_top_srcdir)/externaldeps/protobuf/src" PROTOBUF_LIBS="\$(abs_top_srcdir)/externaldeps/protobuf/src/.libs/libprotobuf.a" @@ -714,6 +715,10 @@ AS_IF( [have_CXX_compiler=yes] ) +if test "${have_libprotobuf}" == "yes" && test "${have_CXX_compiler}" == "yes"; then + AC_DEFINE([HAVE_PROTOBUF], [1], [Protobuf is available]) +fi + AC_MSG_CHECKING([if Cloud functionality should be enabled]) AC_MSG_RESULT([${enable_cloud}]) if test "$aclk_ng" = "no"; then |