summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c7b0f0b)
raw | patch | inline | side by side (parent: c7b0f0b)
author | Dan Fandrich <dan@coneharvesters.com> | |
Sat, 2 Feb 2013 00:26:43 +0000 (01:26 +0100) | ||
committer | Florian Forster <octo@collectd.org> | |
Sun, 3 Feb 2013 12:16:14 +0000 (13:16 +0100) |
The generated header file lcc_features.h and collectd.h cause problems
otherwise.
Signed-off-by: Florian Forster <octo@collectd.org>
otherwise.
Signed-off-by: Florian Forster <octo@collectd.org>
src/Makefile.am | patch | blob | history | |
src/libcollectdclient/Makefile.am | patch | blob | history |
diff --git a/src/Makefile.am b/src/Makefile.am
index 45fd9f93c0aeaee76aa17a8177316e3da2d68268..992b7f16978786da44d3be912c529093e135f421 100644 (file)
--- a/src/Makefile.am
+++ b/src/Makefile.am
endif
AM_CPPFLAGS += -DPLUGINDIR='"${pkglibdir}"'
AM_CPPFLAGS += -DPKGDATADIR='"${pkgdatadir}"'
+AM_CPPFLAGS += -I$(top_builddir)/src/libcollectdclient/collectd
sbin_PROGRAMS = collectd collectdmon
bin_PROGRAMS = collectd-nagios collectdctl collectd-tg
index 7167f517a6099e03bdade2a1d215f8cbba3ef658..1d4dff59fccc29e180aa67544285ee0a8b2330b4 100644 (file)
BUILT_SOURCES = collectd/lcc_features.h
libcollectdclient_la_SOURCES = client.c network.c network_buffer.c
-libcollectdclient_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_srcdir)/src
+libcollectdclient_la_CPPFLAGS = $(AM_CPPFLAGS) -I$(top_builddir)/src/libcollectdclient/collectd -I$(top_srcdir)/src
libcollectdclient_la_LDFLAGS = -version-info 1:0:0
libcollectdclient_la_LIBADD =
if BUILD_WITH_LIBGCRYPT