diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-08-20 21:13:25 +0200 |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-08-20 21:13:25 +0200 |
commit | 92849a1a87f2c74a3017b30fec90c46919761f79 (patch) | |
tree | 1f35e4ffd5e942ca7c25c751a46b7fa1f521887b /configure.in | |
parent | 4083622f86e1fe0fef1e81f23a2ca7a4614ea481 (diff) | |
download | monitoring-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.in | 4 |
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"], [ LIBS="$_SAVEDLIBS" ]) +dnl Check for headers used by check_users +AC_CHECK_HEADERS(utmpx.h) +AM_CONDITIONAL([HAVE_UTMPX], [test "$ac_cv_header_utmpx_h" = "yes"]) + dnl Check for headers used by check_ide_smart case $host in *linux*) |