summaryrefslogtreecommitdiffstats
path: root/plugins/Makefile.am
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-08-20 19:13:25 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-08-20 19:13:25 (GMT)
commit92849a1a87f2c74a3017b30fec90c46919761f79 (patch)
tree1f35e4ffd5e942ca7c25c751a46b7fa1f521887b /plugins/Makefile.am
parent4083622f86e1fe0fef1e81f23a2ca7a4614ea481 (diff)
downloadmonitoring-plugins-92849a1a87f2c74a3017b30fec90c46919761f79.tar.gz
check_users: Use utmpx(5) only if available
For systems that don't provide an utmpx(5) interface, restore the code that was replaced in commit 3e622f3a47bc7d31f22513a79892c3c52febd2d3.
Diffstat (limited to 'plugins/Makefile.am')
-rw-r--r--plugins/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/Makefile.am b/plugins/Makefile.am
index 64969db..031dd25 100644
--- a/plugins/Makefile.am
+++ b/plugins/Makefile.am
@@ -112,6 +112,10 @@ check_ide_smart_LDADD = $(BASEOBJS)
112negate_LDADD = $(BASEOBJS) 112negate_LDADD = $(BASEOBJS)
113urlize_LDADD = $(BASEOBJS) 113urlize_LDADD = $(BASEOBJS)
114 114
115if !HAVE_UTMPX
116check_users_LDADD += popen.o
117endif
118
115############################################################################## 119##############################################################################
116# secondary dependencies 120# secondary dependencies
117 121