aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2014-12-02 12:37:59 +0100
committerGravatar Holger Weiss <holger@zedat.fu-berlin.de> 2014-12-02 12:37:59 +0100
commitcf3d149652a163a0bd1c1e72d1b0e2a3c5ddb610 (patch)
tree84f4325a946c4e3d4d083a028cb4d4dd4c3acdcc
parent7b5d1c00e8782106b11cb1723a76fec9ed46f56f (diff)
downloadmonitoring-plugins-cf3d149652a163a0bd1c1e72d1b0e2a3c5ddb610.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)
dnl Check for POSIX thread libraries
AC_CHECK_HEADERS(pthread.h)
-AC_CHECK_LIB(pthread,pthread_create,THRLIBS="-lpthread",
- AC_CHECK_LIB(pthread,pthread_create,THRLIBS="-lpthread -lrt",-lrt))
-AC_SUBST(THRLIBS)
+AC_CHECK_LIB(pthread,pthread_create,THREADLIBS="-lpthread",
+ AC_CHECK_LIB(pthread,pthread_create,THREADLIBS="-lpthread -lrt",-lrt))
+AC_SUBST(THREADLIBS)
dnl
dnl 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)
check_cluster_LDADD = $(BASEOBJS)
check_dbi_LDADD = $(NETLIBS) $(DBILIBS)
check_dig_LDADD = $(NETLIBS)
-check_disk_LDADD = $(BASEOBJS) $(THRLIBS)
+check_disk_LDADD = $(BASEOBJS) $(THREADLIBS)
check_dns_LDADD = $(NETLIBS)
check_dummy_LDADD = $(BASEOBJS)
check_fping_LDADD = $(NETLIBS)