author | Florian Forster <octo@noris.net> | |
Tue, 29 Apr 2008 15:44:26 +0000 (17:44 +0200) | ||
committer | Florian Forster <octo@noris.net> | |
Tue, 29 Apr 2008 15:44:26 +0000 (17:44 +0200) |
1 | 2 | |||
---|---|---|---|---|
configure.in | patch | | diff1 | | diff2 | | blob | history |
contrib/migrate-3-4.px | patch | | diff1 | | diff2 | | blob | history |
src/Makefile.am | patch | | diff1 | | diff2 | | blob | history |
src/sensors.c | patch | | diff1 | | diff2 | | blob | history |
diff --cc configure.in
Simple merge
diff --cc contrib/migrate-3-4.px
Simple merge
diff --cc src/Makefile.am
index e094c8f37247c3275bf74c5b2af90231acc4715b,02b85fcd1d7f438c718826f0c1957e2af0a5dc81..fe4af774f4a3b9614d6540c1820601936dbab24c
--- 1/src/Makefile.am
--- 2/src/Makefile.am
+++ b/src/Makefile.am
utils_cache.c utils_cache.h \
utils_ignorelist.c utils_ignorelist.h \
utils_llist.c utils_llist.h \
+ utils_tail_match.c utils_tail_match.h \
+ utils_match.c utils_match.h \
utils_mount.c utils_mount.h \
+ utils_tail.c utils_tail.h \
utils_threshold.c utils_threshold.h \
types_list.c types_list.h
- collectd_CPPFLAGS = $(LTDLINCL)
- collectd_CPPFLAGS += $(AM_CPPFLAGS)
- # Link to these libraries..
+ collectd_CPPFLAGS = $(AM_CPPFLAGS) $(LTDLINCL)
+ collectd_CFLAGS =
collectd_LDFLAGS = -export-dynamic
+ collectd_LDADD =
+ collectd_DEPENDENCIES =
+
+ # Link to these libraries..
if BUILD_WITH_LIBRT
- collectd_LDFLAGS += -lrt
+ collectd_LDADD += -lrt
endif
if BUILD_WITH_LIBSOCKET
- collectd_LDFLAGS += -lsocket
+ collectd_LDADD += -lsocket
endif
if BUILD_WITH_LIBRESOLV
- collectd_LDFLAGS += -lresolv
+ collectd_LDADD += -lresolv
endif
if BUILD_WITH_LIBPTHREAD
- collectd_LDFLAGS += -lpthread
+ collectd_LDADD += -lpthread
endif
if BUILD_WITH_LIBKSTAT
- collectd_LDFLAGS += -lkstat
+ collectd_LDADD += -lkstat
endif
if BUILD_WITH_LIBDEVINFO
- collectd_LDFLAGS += -ldevinfo
+ collectd_LDADD += -ldevinfo
endif
+ # The daemon needs to call sg_init, so we need to link it against libstatgrab,
+ # too. -octo
if BUILD_WITH_LIBSTATGRAB
- if BUILD_WITH_LIBKVM
- collectd_LDFLAGS += -lkvm
- endif
- if BUILD_WITH_LIBDEVSTAT
- collectd_LDFLAGS += -ldevstat
- endif
- collectd_LDFLAGS += -lstatgrab
+ collectd_CFLAGS += $(BUILD_WITH_LIBSTATGRAB_CFLAGS)
+ collectd_LDADD += $(BUILD_WITH_LIBSTATGRAB_LDFLAGS)
endif
-
- collectd_LDADD =
- collectd_DEPENDENCIES =
if BUILD_WITH_OWN_LIBOCONFIG
collectd_LDADD += $(LIBLTDL) liboconfig/liboconfig.la
collectd_DEPENDENCIES += $(LIBLTDL) liboconfig/liboconfig.la
diff --cc src/sensors.c
Simple merge