… | |
… | |
10154 | |
10154 | |
10155 | |
10155 | |
10156 | |
10156 | |
10157 | |
10157 | |
10158 | |
10158 | |
|
|
10159 | |
10159 | for ac_func in \ |
10160 | for ac_func in \ |
10160 | atexit \ |
10161 | atexit \ |
10161 | revoke \ |
10162 | revoke \ |
10162 | unsetenv \ |
10163 | unsetenv \ |
10163 | setutent \ |
10164 | setutent \ |
… | |
… | |
10165 | setreuid \ |
10166 | setreuid \ |
10166 | setsid \ |
10167 | setsid \ |
10167 | setpgrp \ |
10168 | setpgrp \ |
10168 | setpgid \ |
10169 | setpgid \ |
10169 | _getpty \ |
10170 | _getpty \ |
|
|
10171 | getpt \ |
10170 | posix_openpt \ |
10172 | posix_openpt \ |
10171 | grantpt \ |
10173 | grantpt \ |
10172 | unlockpt \ |
10174 | unlockpt \ |
10173 | isastream \ |
10175 | isastream \ |
10174 | on_exit \ |
10176 | on_exit \ |
… | |
… | |
11956 | #define XIMCB_PROTO_BROKEN 1 |
11958 | #define XIMCB_PROTO_BROKEN 1 |
11957 | _ACEOF |
11959 | _ACEOF |
11958 | |
11960 | |
11959 | fi |
11961 | fi |
11960 | |
11962 | |
11961 | if test x$ac_cv_func_posix_openpt = xno; then |
11963 | if test x$ac_cv_func_getpt = xno -a x$ac_cv_func_posix_openpt = xno; then |
11962 | echo "$as_me:$LINENO: checking for openpty" >&5 |
11964 | echo "$as_me:$LINENO: checking for openpty" >&5 |
11963 | echo $ECHO_N "checking for openpty... $ECHO_C" >&6 |
11965 | echo $ECHO_N "checking for openpty... $ECHO_C" >&6 |
11964 | if test "${ac_cv_func_openpty+set}" = set; then |
11966 | if test "${ac_cv_func_openpty+set}" = set; then |
11965 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11967 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11966 | else |
11968 | else |
… | |
… | |
12127 | if test "${rxvt_cv_ptys+set}" = set; then |
12129 | if test "${rxvt_cv_ptys+set}" = set; then |
12128 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12130 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12129 | else |
12131 | else |
12130 | if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then |
12132 | if test x$ac_cv_func_openpty = xyes -o x$ac_cv_lib_util_openpty = xyes; then |
12131 | rxvt_cv_ptys=OPENPTY |
12133 | rxvt_cv_ptys=OPENPTY |
|
|
12134 | else if test x$ac_cv_func_getpt = xyes; then |
|
|
12135 | rxvt_cv_ptys=GLIBC |
12132 | else if test x$ac_cv_func_posix_openpt = xyes; then |
12136 | else if test x$ac_cv_func_posix_openpt = xyes; then |
12133 | rxvt_cv_ptys=POSIX |
12137 | rxvt_cv_ptys=POSIX |
12134 | else if test x$ac_cv_func__getpty = xyes; then |
12138 | else if test x$ac_cv_func__getpty = xyes; then |
12135 | rxvt_cv_ptys=SGI4 |
12139 | rxvt_cv_ptys=SGI4 |
12136 | else if test -c /dev/ttyp20; then |
12140 | else if test -c /dev/ttyp20; then |
… | |
… | |
12154 | fi |
12158 | fi |
12155 | fi |
12159 | fi |
12156 | fi |
12160 | fi |
12157 | fi |
12161 | fi |
12158 | fi |
12162 | fi |
|
|
12163 | fi |
12159 | |
12164 | |
12160 | fi |
12165 | fi |
12161 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
12166 | echo "$as_me:$LINENO: result: $rxvt_cv_ptys" >&5 |
12162 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
12167 | echo "${ECHO_T}$rxvt_cv_ptys" >&6 |
12163 | |
12168 | |
|
|
12169 | if test x$rxvt_cv_ptys = xGLIBC; then |
|
|
12170 | |
|
|
12171 | cat >>confdefs.h <<\_ACEOF |
|
|
12172 | #define PTYS_ARE_GETPT 1 |
|
|
12173 | _ACEOF |
|
|
12174 | |
|
|
12175 | fi |
12164 | if test x$rxvt_cv_ptys = xPOSIX; then |
12176 | if test x$rxvt_cv_ptys = xPOSIX; then |
12165 | |
12177 | |
12166 | cat >>confdefs.h <<\_ACEOF |
12178 | cat >>confdefs.h <<\_ACEOF |
12167 | #define PTYS_ARE_POSIX 1 |
12179 | #define PTYS_ARE_POSIX 1 |
12168 | _ACEOF |
12180 | _ACEOF |