summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@sun.com>2006-11-07 18:28:20 -0800
committerAlan Coopersmith <alan.coopersmith@sun.com>2006-11-07 18:28:20 -0800
commit21bee0694be43d4be1d93a8bcafbcd0f0ef9a9b4 (patch)
tree0b7607ccc3290f834156f083942cedb24f2ce2be
parent63f21c67aa6d025d8fa06793dc7f83f37e7c3fb4 (diff)
AC_CHECK_MEMBER needs to include <utmpx.h> when checking for utmpx.ut_syslen
-rw-r--r--configure.ac3
1 files changed, 2 insertions, 1 deletions
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 <utmpx.h>])
AC_DEFINE_UNQUOTED(HAVE_UTMPX_UT_SYSLEN,$HAVE_SYSLEN,
[utmpx structure includes ut_syslen field])