From: Ruben Kerkhof Date: Fri, 3 Jun 2016 17:05:44 +0000 (+0200) Subject: src/Makefile.am: simplify Apache plugin X-Git-Tag: collectd-5.6.0~280 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=d50dc31ae667dc7881a6e9e1da79452fd8e044f7;p=collectd.git src/Makefile.am: simplify Apache plugin It can't be build without libcurl support and configure will take care of that. --- diff --git a/src/Makefile.am b/src/Makefile.am index a9db3052..fd4f733f 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -130,12 +130,8 @@ if BUILD_PLUGIN_APACHE pkglib_LTLIBRARIES += apache.la apache_la_SOURCES = apache.c apache_la_LDFLAGS = $(PLUGIN_LDFLAGS) -apache_la_CFLAGS = $(AM_CFLAGS) -apache_la_LIBADD = -if BUILD_WITH_LIBCURL -apache_la_CFLAGS += $(BUILD_WITH_LIBCURL_CFLAGS) -apache_la_LIBADD += $(BUILD_WITH_LIBCURL_LIBS) -endif +apache_la_CFLAGS = $(AM_CFLAGS) $(BUILD_WITH_LIBCURL_CFLAGS) +apache_la_LIBADD = $(BUILD_WITH_LIBCURL_LIBS) endif if BUILD_PLUGIN_APCUPS