@@ -4681,11 +4681,11 @@ AC_CHECK_FUNCS([ \
4681
4681
getgrnam_r getgrouplist getgroups gethostname getitimer getloadavg getlogin \
4682
4682
getpeername getpgid getpid getppid getpriority _getpty \
4683
4683
getpwent getpwnam_r getpwuid getpwuid_r getresgid getresuid getrusage getsid getspent \
4684
- getspnam getuid getwd if_nameindex initgroups kill killpg lchown linkat \
4684
+ getspnam getuid getwd grantpt if_nameindex initgroups kill killpg lchown linkat \
4685
4685
lockf lstat lutimes madvise mbrtowc memrchr mkdirat mkfifo mkfifoat \
4686
4686
mknod mknodat mktime mmap mremap nice openat opendir pathconf pause pipe \
4687
- pipe2 plock poll posix_fadvise posix_fallocate posix_spawn posix_spawnp \
4688
- pread preadv preadv2 pthread_condattr_setclock pthread_init pthread_kill \
4687
+ pipe2 plock poll posix_fadvise posix_fallocate posix_openpt posix_spawn posix_spawnp \
4688
+ pread preadv preadv2 pthread_condattr_setclock pthread_init pthread_kill ptsname \
4689
4689
pwrite pwritev pwritev2 readlink readlinkat readv realpath renameat \
4690
4690
rtpSpawn sched_get_priority_max sched_rr_get_interval sched_setaffinity \
4691
4691
sched_setparam sched_setscheduler sem_clockwait sem_getvalue sem_open \
@@ -4695,7 +4695,7 @@ AC_CHECK_FUNCS([ \
4695
4695
sigfillset siginterrupt sigpending sigrelse sigtimedwait sigwait \
4696
4696
sigwaitinfo snprintf splice strftime strlcpy strsignal symlinkat sync \
4697
4697
sysconf system tcgetpgrp tcsetpgrp tempnam timegm times tmpfile \
4698
- tmpnam tmpnam_r truncate ttyname umask uname unlinkat utimensat utimes vfork \
4698
+ tmpnam tmpnam_r truncate ttyname umask uname unlinkat unlockpt utimensat utimes vfork \
4699
4699
wait wait3 wait4 waitid waitpid wcscoll wcsftime wcsxfrm wmemcmp writev \
4700
4700
] )
4701
4701
@@ -4943,21 +4943,6 @@ PY_CHECK_FUNC([setgroups], [
4943
4943
#endif
4944
4944
] )
4945
4945
4946
- # check for posix_openpt, grantpt, unlockpt, and ptsname
4947
-
4948
- AC_SEARCH_LIBS ( [ posix_openpt] , [ util] ,
4949
- [ AC_DEFINE ( [ HAVE_POSIX_OPENPT] , [ 1] , [ Define to 1 if you have the `posix_openpt' function.] ) ]
4950
- )
4951
- AC_SEARCH_LIBS ( [ grantpt] , [ util] ,
4952
- [ AC_DEFINE ( [ HAVE_GRANTPT] , [ 1] , [ Define to 1 if you have the `grantpt' function.] ) ]
4953
- )
4954
- AC_SEARCH_LIBS ( [ unlockpt] , [ util] ,
4955
- [ AC_DEFINE ( [ HAVE_UNLOCKPT] , [ 1] , [ Define to 1 if you have the `unlockpt' function.] ) ]
4956
- )
4957
- AC_SEARCH_LIBS ( [ ptsname] , [ util] ,
4958
- [ AC_DEFINE ( [ HAVE_PTSNAME] , [ 1] , [ Define to 1 if you have the `ptsname' function.] ) ]
4959
- )
4960
-
4961
4946
# check for openpty, login_tty, and forkpty
4962
4947
4963
4948
AC_CHECK_FUNCS ( openpty ,,
0 commit comments