]> git.ipfire.org Git - thirdparty/collectd.git/commitdiff
Makefile.am: Build libgce ony when liboauth is available.
authorFlorian Forster <octo@collectd.org>
Thu, 7 Dec 2017 11:04:08 +0000 (12:04 +0100)
committerFlorian Forster <octo@collectd.org>
Thu, 4 Oct 2018 19:14:37 +0000 (21:14 +0200)
libgce uses oauth_parse_json_token() from liboauth.

Makefile.am

index 266ff10c1048ee777a146b5ebe1af18d2c822dae..8a9710cd7b97e5d8052b4485495341fdf85a8913 100644 (file)
@@ -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