diff options
-rw-r--r-- | configure.ac | 6 | ||||
-rw-r--r-- | plugins/Makefile.am | 2 |
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) |