From: Ruben Kerkhof Date: Fri, 3 Jun 2016 14:58:01 +0000 (+0200) Subject: src/Makefile.am: let automake compute dependencies X-Git-Tag: collectd-5.6.0~286 X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=c1a0cf1b222f43e5eb5dcc57262584905bad0670;p=collectd.git src/Makefile.am: let automake compute dependencies Automake already does the right thing based on the library added with _LDADD --- diff --git a/src/Makefile.am b/src/Makefile.am index 783dda29..30e763e1 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -57,7 +57,6 @@ collectdmon_SOURCES = collectdmon.c collectd_nagios_SOURCES = collectd-nagios.c collectd_nagios_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src/libcollectdclient/collectd -I$(top_builddir)/src/libcollectdclient/collectd collectd_nagios_LDADD = libcollectdclient/libcollectdclient.la -collectd_nagios_DEPENDENCIES = libcollectdclient/libcollectdclient.la if BUILD_WITH_LIBSOCKET collectd_nagios_LDADD += -lsocket endif