… | |
… | |
29 | _getpty \ |
29 | _getpty \ |
30 | getpt \ |
30 | getpt \ |
31 | posix_openpt \ |
31 | posix_openpt \ |
32 | isastream \ |
32 | isastream \ |
33 | setuid \ |
33 | setuid \ |
34 | seteuid \ |
|
|
35 | setreuid \ |
34 | setreuid \ |
36 | setresuid \ |
35 | setresuid \ |
37 | ) |
36 | ) |
38 | |
37 | |
39 | AC_MSG_CHECKING(for UNIX98 ptys) |
38 | AC_MSG_CHECKING(for UNIX98 ptys) |
… | |
… | |
203 | *(int *)CMSG_DATA (cmsg) = 5; |
202 | *(int *)CMSG_DATA (cmsg) = 5; |
204 | |
203 | |
205 | return sendmsg (3, &msg, 0); |
204 | return sendmsg (3, &msg, 0); |
206 | } |
205 | } |
207 | ]])],[pt_cv_can_pass_fds=yes],[pt_cv_can_pass_fds=no])]) |
206 | ]])],[pt_cv_can_pass_fds=yes],[pt_cv_can_pass_fds=no])]) |
208 | if test x$pt_cv_can_pass_fds = xyes; then |
207 | if test x$pt_cv_can_pass_fds = xno; then |
209 | AC_DEFINE(HAVE_UNIX_FDPASS, 1, Define if sys/socket.h defines the necessary macros/functions for file handle passing) |
|
|
210 | else |
|
|
211 | AC_MSG_ERROR([libptytty requires unix-compliant filehandle passing ability]) |
208 | AC_MSG_ERROR([libptytty requires unix-compliant filehandle passing ability]) |
212 | fi |
209 | fi |
213 | ]) |
210 | ]) |
214 | |
211 | |
215 | AC_DEFUN([TTY_GROUP_CHECK], |
212 | AC_DEFUN([TTY_GROUP_CHECK], |