From: Florian Forster Date: Thu, 7 Dec 2017 11:04:08 +0000 (+0100) Subject: Makefile.am: Build libgce ony when liboauth is available. X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=10f09e8488eb6d7b3a29058791d0aec1fdcf6d38;p=collectd.git Makefile.am: Build libgce ony when liboauth is available. libgce uses oauth_parse_json_token() from liboauth. --- diff --git a/Makefile.am b/Makefile.am index 266ff10c..8a9710cd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -599,11 +599,7 @@ test_utils_oauth_LDADD = \ liboauth.la \ libcommon.la \ libplugin_mock.la -endif -endif -endif -if BUILD_WITH_LIBCURL noinst_LTLIBRARIES += libgce.la libgce_la_SOURCES = \ src/utils_gce.c \ @@ -614,6 +610,8 @@ libgce_la_CPPFLAGS = \ libgce_la_LIBADD = \ $(BUILD_WITH_LIBCURL_LIBS) endif +endif +endif if BUILD_WITH_LIBYAJL2 noinst_LTLIBRARIES += libformat_stackdriver.la