diff configure.in @ 106962:d189e0755f30

Account for utmp.h availability. * configure.in: Check for utmp.h availability (FreeBSD 9.x lacks this header file). * filelock.c: Include utmp.h only when HAVE_UTMP_H (FreeBSD 9.x lacks this header file).
author Chong Yidong <cyd@stupidchicken.com>
date Sat, 23 Jan 2010 17:15:22 -0500
parents 1d1d5d9bd884
children 905212a81527
line wrap: on
line diff
--- a/configure.in	Sat Jan 23 13:42:22 2010 +0100
+++ b/configure.in	Sat Jan 23 17:15:22 2010 -0500
@@ -1106,7 +1106,7 @@
   linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
   termcap.h stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \
   sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \
-  sys/utsname.h pwd.h)
+  sys/utsname.h pwd.h utmp.h)
 
 AC_MSG_CHECKING(if personality LINUX32 can be set)
 AC_TRY_COMPILE([#include <sys/personality.h>], [personality (PER_LINUX32)],