summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-08-20 21:13:25 +0200
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-08-20 21:13:25 +0200
commit92849a1a87f2c74a3017b30fec90c46919761f79 (patch)
tree1f35e4ffd5e942ca7c25c751a46b7fa1f521887b /configure.in
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 'configure.in')
-rw-r--r--configure.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.in b/configure.in
index de75e532..529720e7 100644
--- a/configure.in
+++ b/configure.in
@@ -316,6 +316,10 @@ AS_IF([test "x$with_ldap" != "xno"], [
316 LIBS="$_SAVEDLIBS" 316 LIBS="$_SAVEDLIBS"
317]) 317])
318 318
319dnl Check for headers used by check_users
320AC_CHECK_HEADERS(utmpx.h)
321AM_CONDITIONAL([HAVE_UTMPX], [test "$ac_cv_header_utmpx_h" = "yes"])
322
319dnl Check for headers used by check_ide_smart 323dnl Check for headers used by check_ide_smart
320case $host in 324case $host in
321 *linux*) 325 *linux*)