… | |
… | |
739 | seteuid \ |
739 | seteuid \ |
740 | setreuid \ |
740 | setreuid \ |
741 | setsid \ |
741 | setsid \ |
742 | setpgrp \ |
742 | setpgrp \ |
743 | setpgid \ |
743 | setpgid \ |
744 | openpty \ |
|
|
745 | _getpty \ |
744 | _getpty \ |
746 | grantpt \ |
745 | grantpt \ |
747 | unlockpt \ |
746 | unlockpt \ |
748 | isastream \ |
747 | isastream \ |
749 | on_exit \ |
748 | on_exit \ |
750 | nanosleep \ |
749 | nanosleep \ |
751 | updwtmp \ |
750 | updwtmp \ |
752 | updwtmpx \ |
751 | updwtmpx \ |
753 | ttyslot \ |
752 | ttyslot \ |
754 | ) |
753 | ) |
755 | dnl# Note: On NetBSD, openpty() exists in libutil. Don't pull it in |
|
|
756 | |
754 | |
757 | dnl# -------------------------------------------------------------------------- |
755 | dnl# -------------------------------------------------------------------------- |
758 | dnl# DO ALL UTMP AND WTMP CHECKING |
756 | dnl# DO ALL UTMP AND WTMP CHECKING |
759 | dnl# -------------------------------------------------------------------------- |
757 | dnl# -------------------------------------------------------------------------- |
760 | dnl# check for host field in utmp structure |
758 | dnl# check for host field in utmp structure |
… | |
… | |
1185 | AC_CACHE_CHECK(for getpt, rxvt_cv_func_getpt, |
1183 | AC_CACHE_CHECK(for getpt, rxvt_cv_func_getpt, |
1186 | [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define _GNU_SOURCE |
1184 | [AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define _GNU_SOURCE |
1187 | #ifdef HAVE_STDLIB_H |
1185 | #ifdef HAVE_STDLIB_H |
1188 | # include <cstdlib> |
1186 | # include <cstdlib> |
1189 | #endif]], [[(void)getpt();]])],[rxvt_cv_func_getpt=yes],[rxvt_cv_func_getpt=no])]) |
1187 | #endif]], [[(void)getpt();]])],[rxvt_cv_func_getpt=yes],[rxvt_cv_func_getpt=no])]) |
1190 | if test x$rxvt_cv_func_getpt = xyes; then |
1188 | if test x$rxvt_cv_func_getpt = xno; then |
1191 | AC_DEFINE(HAVE_GETPT, 1, Define if you have _GNU_SOURCE getpt() ) |
1189 | AC_CHECK_FUNC(openpty, [], [AC_CHECK_LIB(util, openpty, [LIBS="$LIBS -lutil"])]) |
1192 | fi |
1190 | fi |
1193 | |
1191 | |
1194 | dnl# if we don't guess right then it's up to the user |
1192 | dnl# if we don't guess right then it's up to the user |
1195 | AC_CACHE_CHECK(for pty/tty type, rxvt_cv_ptys, |
1193 | AC_CACHE_CHECK(for pty/tty type, rxvt_cv_ptys, |
1196 | [if test x$ac_cv_func_openpty = xyes; then |
1194 | [if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then |
1197 | rxvt_cv_ptys=OPENPTY |
1195 | rxvt_cv_ptys=OPENPTY |
1198 | else if test x$ac_cv_func__getpty = xyes; then |
1196 | else if test x$ac_cv_func__getpty = xyes; then |
1199 | rxvt_cv_ptys=SGI4 |
1197 | rxvt_cv_ptys=SGI4 |
1200 | else if test -c /dev/ttyp20; then |
1198 | else if test -c /dev/ttyp20; then |
1201 | rxvt_cv_ptys=SCO |
1199 | rxvt_cv_ptys=SCO |
… | |
… | |
1422 | AC_SUBST(PERLPRIVLIBEXP) |
1420 | AC_SUBST(PERLPRIVLIBEXP) |
1423 | AC_SUBST(PERL) |
1421 | AC_SUBST(PERL) |
1424 | AC_SUBST(IF_PERL) |
1422 | AC_SUBST(IF_PERL) |
1425 | AC_SUBST(PERL_O) |
1423 | AC_SUBST(PERL_O) |
1426 | |
1424 | |
1427 | if text x$support_perl = xyes; then |
1425 | if test x$support_perl = xyes; then |
1428 | support_frills=yes |
1426 | support_frills=yes |
1429 | fi |
1427 | fi |
1430 | |
1428 | |
1431 | dnl> AC_CHECK_FUNCS(gettimeofday putenv select socket) |
1429 | dnl> AC_CHECK_FUNCS(gettimeofday putenv select socket) |
1432 | |
1430 | |