From 21bee0694be43d4be1d93a8bcafbcd0f0ef9a9b4 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Tue, 7 Nov 2006 18:28:20 -0800 Subject: AC_CHECK_MEMBER needs to include when checking for utmpx.ut_syslen --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 51376ba..93a28da 100644 --- a/configure.ac +++ b/configure.ac @@ -35,7 +35,8 @@ AC_PROG_INSTALL AC_CHECK_HEADERS([lastlog.h utmpx.h sys/param.h]) AC_CHECK_MEMBER([struct utmpx.ut_syslen], HAVE_SYSLEN=1, - HAVE_SYSLEN=0) + HAVE_SYSLEN=0, + [#include ]) AC_DEFINE_UNQUOTED(HAVE_UTMPX_UT_SYSLEN,$HAVE_SYSLEN, [utmpx structure includes ut_syslen field]) -- cgit v1.2.3