… | |
… | |
74 | fi |
74 | fi |
75 | ]) |
75 | ]) |
76 | |
76 | |
77 | AC_DEFUN([UTMP_CHECK], |
77 | AC_DEFUN([UTMP_CHECK], |
78 | [ |
78 | [ |
|
|
79 | support_utmp=yes |
|
|
80 | support_wtmp=yes |
|
|
81 | support_lastlog=yes |
|
|
82 | |
79 | AC_ARG_ENABLE(utmp, |
83 | AC_ARG_ENABLE(utmp, |
80 | [ --enable-utmp enable utmp (utmpx) support], |
84 | [ --enable-utmp enable utmp (utmpx) support], |
81 | [if test x$enableval = xyes -o x$enableval = xno; then |
85 | [if test x$enableval = xyes -o x$enableval = xno; then |
82 | support_utmp=$enableval |
86 | support_utmp=$enableval |
83 | fi]) |
87 | fi]) |
… | |
… | |
447 | |
451 | |
448 | AC_DEFUN([SCM_RIGHTS_CHECK], |
452 | AC_DEFUN([SCM_RIGHTS_CHECK], |
449 | [ |
453 | [ |
450 | AC_CACHE_CHECK(for unix-compliant filehandle passing ability, can_pass_fds, |
454 | AC_CACHE_CHECK(for unix-compliant filehandle passing ability, can_pass_fds, |
451 | [AC_TRY_LINK([ |
455 | [AC_TRY_LINK([ |
452 | #include <cstddef> // broken bsds (is that redundant) need this |
456 | #include <cstddef> // broken bsds (is that redundant?) need this |
453 | #include <sys/types.h> |
457 | #include <sys/types.h> |
454 | #include <sys/socket.h> |
458 | #include <sys/socket.h> |
455 | #include <sys/uio.h> |
459 | #include <sys/uio.h> |
456 | ],[ |
460 | ],[ |
457 | { |
461 | { |