X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=src%2Fdaemon%2FMakefile.am;h=632872a2a901d56f36872dc840bef4204c452c37;hb=38909dcf1dcb596c5f525c6bb25cf89c046013b5;hp=2fe42ae02c79e3201a5fb75f349cd5af08bf4ae3;hpb=b81104a423234c04f0eb4ace0ec5e93a363c917a;p=collectd.git diff --git a/src/daemon/Makefile.am b/src/daemon/Makefile.am index 2fe42ae0..632872a2 100644 --- a/src/daemon/Makefile.am +++ b/src/daemon/Makefile.am @@ -10,7 +10,7 @@ AM_CPPFLAGS += -DPLUGINDIR='"${pkglibdir}"' AM_CPPFLAGS += -DPKGDATADIR='"${pkgdatadir}"' # Link to these libraries.. -COMMON_LIBS = +COMMON_LIBS = $(PTHREAD_LIBS) if BUILD_WITH_LIBRT COMMON_LIBS += -lrt endif @@ -23,9 +23,6 @@ endif if BUILD_WITH_LIBRESOLV COMMON_LIBS += -lresolv endif -if BUILD_WITH_LIBPTHREAD -COMMON_LIBS += -lpthread -endif if BUILD_WITH_LIBKSTAT COMMON_LIBS += -lkstat endif @@ -90,6 +87,8 @@ else collectd_LDADD += -loconfig endif +LOG_COMPILER = env VALGRIND="@VALGRIND@" $(abs_top_srcdir)/testwrapper.sh + check_PROGRAMS = test_common test_meta_data test_utils_avltree test_utils_heap test_utils_time test_utils_subst TESTS = test_common test_meta_data test_utils_avltree test_utils_heap test_utils_time test_utils_subst