summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2014-12-02 12:37:59 +0100
committerHolger Weiss <holger@zedat.fu-berlin.de>2014-12-02 12:37:59 +0100
commitcf3d149652a163a0bd1c1e72d1b0e2a3c5ddb610 (patch)
tree84f4325a946c4e3d4d083a028cb4d4dd4c3acdcc
parent7b5d1c00e8782106b11cb1723a76fec9ed46f56f (diff)
downloadmonitoring-plugins-cf3d149.tar.gz
Cosmetic change: s/THRLIBS/THREADLIBS/
Use a more intuitive variable name.
-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)