summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac6
-rw-r--r--plugins/Makefile.am2
2 files changed, 4 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index a90a9d45..3cc3d03d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -158,9 +158,9 @@ AC_SUBST(SOCKETLIBS)
158 158
159dnl Check for POSIX thread libraries 159dnl Check for POSIX thread libraries
160AC_CHECK_HEADERS(pthread.h) 160AC_CHECK_HEADERS(pthread.h)
161AC_CHECK_LIB(pthread,pthread_create,THRLIBS="-lpthread", 161AC_CHECK_LIB(pthread,pthread_create,THREADLIBS="-lpthread",
162 AC_CHECK_LIB(pthread,pthread_create,THRLIBS="-lpthread -lrt",-lrt)) 162 AC_CHECK_LIB(pthread,pthread_create,THREADLIBS="-lpthread -lrt",-lrt))
163AC_SUBST(THRLIBS) 163AC_SUBST(THREADLIBS)
164 164
165dnl 165dnl
166dnl check for math-related functions needing -lm 166dnl check for math-related functions needing -lm
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 26183940..41906c53 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -71,7 +71,7 @@ check_apt_LDADD = $(BASEOBJS)
71check_cluster_LDADD = $(BASEOBJS) 71check_cluster_LDADD = $(BASEOBJS)
72check_dbi_LDADD = $(NETLIBS) $(DBILIBS) 72check_dbi_LDADD = $(NETLIBS) $(DBILIBS)
73check_dig_LDADD = $(NETLIBS) 73check_dig_LDADD = $(NETLIBS)
74check_disk_LDADD = $(BASEOBJS) $(THRLIBS) 74check_disk_LDADD = $(BASEOBJS) $(THREADLIBS)
75check_dns_LDADD = $(NETLIBS) 75check_dns_LDADD = $(NETLIBS)
76check_dummy_LDADD = $(BASEOBJS) 76check_dummy_LDADD = $(BASEOBJS)
77check_fping_LDADD = $(NETLIBS) 77check_fping_LDADD = $(NETLIBS)