[monitoring-plugins] Cosmetic change: s/THRLIBS/THREADLIBS/

Holger Weiss git at monitoring-plugins.org
Tue Dec 2 13:30:09 CET 2014


 Module: monitoring-plugins
 Branch: master
 Commit: cf3d149652a163a0bd1c1e72d1b0e2a3c5ddb610
 Author: Holger Weiss <holger at zedat.fu-berlin.de>
   Date: Tue Dec  2 12:37:59 2014 +0100
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=cf3d149

Cosmetic change: s/THRLIBS/THREADLIBS/

Use a more intuitive variable name.

---

 configure.ac        | 6 +++---
 plugins/Makefile.am | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/configure.ac b/configure.ac
index a90a9d4..3cc3d03 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 2618394..41906c5 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)



More information about the Commits mailing list