comparison configure @ 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 8f9c3a09d55a
children 905212a81527
comparison
equal deleted inserted replaced
106961:55db4345f5e3 106962:d189e0755f30
6663 6663
6664 6664
6665 6665
6666 6666
6667 6667
6668
6668 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ 6669 for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \
6669 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \ 6670 linux/version.h sys/systeminfo.h termios.h limits.h string.h stdlib.h \
6670 termcap.h stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \ 6671 termcap.h stdio_ext.h fcntl.h strings.h coff.h pty.h sys/mman.h \
6671 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \ 6672 sys/param.h sys/vlimit.h sys/resource.h locale.h sys/_mbstate_t.h \
6672 sys/utsname.h pwd.h 6673 sys/utsname.h pwd.h utmp.h
6673 do 6674 do
6674 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` 6675 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
6675 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 6676 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6676 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5 6677 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
6677 $as_echo_n "checking for $ac_header... " >&6; } 6678 $as_echo_n "checking for $ac_header... " >&6; }