… | |
… | |
15 | revoke \ |
15 | revoke \ |
16 | _getpty \ |
16 | _getpty \ |
17 | getpt \ |
17 | getpt \ |
18 | posix_openpt \ |
18 | posix_openpt \ |
19 | isastream \ |
19 | isastream \ |
|
|
20 | setuid \ |
|
|
21 | seteuid \ |
|
|
22 | setreuid \ |
|
|
23 | setresuid \ |
20 | ) |
24 | ) |
21 | |
25 | |
22 | have_clone=no |
26 | have_clone=no |
23 | |
27 | |
24 | AC_MSG_CHECKING(for /dev/ptym/clone) |
28 | AC_MSG_CHECKING(for /dev/ptym/clone) |
… | |
… | |
432 | }]])],[path_lastlogx=`cat conftestval`],[path_lastlogx=],[dnl |
436 | }]])],[path_lastlogx=`cat conftestval`],[path_lastlogx=],[dnl |
433 | AC_MSG_WARN(Define LASTLOGX_FILE in config.h manually)])]) |
437 | AC_MSG_WARN(Define LASTLOGX_FILE in config.h manually)])]) |
434 | if test x$path_lastlogx != x; then |
438 | if test x$path_lastlogx != x; then |
435 | AC_DEFINE_UNQUOTED(LASTLOGX_FILE, "$path_lastlogx", Define location of lastlogx) |
439 | AC_DEFINE_UNQUOTED(LASTLOGX_FILE, "$path_lastlogx", Define location of lastlogx) |
436 | fi |
440 | fi |
437 | |
|
|
438 | if test x$support_utmp != xyes; then |
|
|
439 | echo " utmp support: disabled" |
|
|
440 | echo |
|
|
441 | else |
|
|
442 | echo " utmp support: enabled |
|
|
443 | utmp file: $path_utmp |
|
|
444 | utmpx file: $path_utmpx |
|
|
445 | wtmp file: $path_wtmp |
|
|
446 | wtmpx file: $path_wtmpx |
|
|
447 | lastlog file: $path_lastlog |
|
|
448 | lastlogx file: $path_lastlogx" |
|
|
449 | fi |
|
|
450 | ]) |
441 | ]) |
451 | |
442 | |
452 | AC_DEFUN([SCM_RIGHTS_CHECK], |
443 | AC_DEFUN([SCM_RIGHTS_CHECK], |
453 | [ |
444 | [ |
454 | AC_CACHE_CHECK(for unix-compliant filehandle passing ability, can_pass_fds, |
445 | AC_CACHE_CHECK(for unix-compliant filehandle passing ability, can_pass_fds, |
455 | [AC_TRY_LINK([ |
446 | [AC_TRY_LINK([ |
456 | #include <cstddef> // broken bsds (is that redundant) need this |
447 | #include <cstddef> // broken bsds (is that redundant?) need this |
457 | #include <sys/types.h> |
448 | #include <sys/types.h> |
458 | #include <sys/socket.h> |
449 | #include <sys/socket.h> |
459 | #include <sys/uio.h> |
450 | #include <sys/uio.h> |
460 | ],[ |
451 | ],[ |
461 | { |
452 | { |