From 92849a1a87f2c74a3017b30fec90c46919761f79 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Tue, 20 Aug 2013 21:13:25 +0200 Subject: 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. --- configure.in | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'configure.in') 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*) -- cgit v1.2.3-74-g34f1