summaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2014-12-02 13:22:17 +0100
committerHolger Weiss <holger@zedat.fu-berlin.de>2014-12-02 13:22:17 +0100
commit04e0a182aeb5defaf6b39cbbd8d9c87491c4f1e4 (patch)
treef979149a56a5392fe1827dc5f39d5faf310437ab /configure.ac
parented9394880c18a66fa2b60483774cf49064dd3771 (diff)
parent14d306f57359e82b309ee5c39472fa5af7ef18e1 (diff)
downloadmonitoring-plugins-04e0a182aeb5defaf6b39cbbd8d9c87491c4f1e4.tar.gz
Merge branch 'handle-hanging-nfs'
* handle-hanging-nfs: NEWS: Mention check_disk enhancement Cosmetic change: s/THRLIBS/THREADLIBS/ configure.ac: Don't let pthread check depend on OS check_disk: Seperate declarations from code check_disk: Remove unused status variable check_disk: Fix pthread start routine type Don't let check_disk hang on hanging file systems
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index a6c9e79a..fb8f9500 100644
--- a/configure.ac
+++ b/configure.ac
@@ -156,6 +156,12 @@ AC_CHECK_LIB(socket,socket,SOCKETLIBS="$SOCKETLIBS -lsocket")
156AC_CHECK_LIB(resolv,main,SOCKETLIBS="$SOCKETLIBS -lresolv") 156AC_CHECK_LIB(resolv,main,SOCKETLIBS="$SOCKETLIBS -lresolv")
157AC_SUBST(SOCKETLIBS) 157AC_SUBST(SOCKETLIBS)
158 158
159dnl Check for POSIX thread libraries
160AC_CHECK_HEADERS(pthread.h)
161AC_CHECK_LIB(pthread,pthread_create,THREADLIBS="-lpthread",
162 AC_CHECK_LIB(pthread,pthread_create,THREADLIBS="-lpthread -lrt",-lrt))
163AC_SUBST(THREADLIBS)
164
159dnl 165dnl
160dnl check for math-related functions needing -lm 166dnl check for math-related functions needing -lm
161AC_CHECK_HEADERS(math.h) 167AC_CHECK_HEADERS(math.h)