diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2010-01-23 17:15:22 -0500 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2010-01-23 17:15:22 -0500 |
commit | 8871f7a77656e6c80ee171e6ce493bea2efe9d02 (patch) | |
tree | a25b9b5c9ff4b1a12203719d8f13e9b5594540ba /configure | |
parent | 2736d87e2cceb3a24e4cd0562b8c463bc5790cd7 (diff) | |
download | emacs-8871f7a77656e6c80ee171e6ce493bea2efe9d02.tar.gz |
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).
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure index 947b8ae9c3e..1ba9d361e6a 100755 --- a/configure +++ b/configure @@ -6665,11 +6665,12 @@ fi + for ac_header in sys/select.h sys/timeb.h sys/time.h unistd.h utime.h \ 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 do as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh` if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |