mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
gh-85984: Add POSIX pseudo-terminal functions. (GH-102413)
Signed-off-by: Soumendra Ganguly <soumendraganguly@gmail.com> Co-authored-by: Gregory P. Smith <greg@krypto.org> Co-authored-by: Petr Viktorin <encukou@gmail.com>
This commit is contained in:
parent
0f54ee4c6c
commit
e351ca3c20
9 changed files with 468 additions and 11 deletions
30
configure
generated
vendored
30
configure
generated
vendored
|
|
@ -17637,6 +17637,12 @@ if test "x$ac_cv_func_getwd" = xyes
|
|||
then :
|
||||
printf "%s\n" "#define HAVE_GETWD 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
ac_fn_c_check_func "$LINENO" "grantpt" "ac_cv_func_grantpt"
|
||||
if test "x$ac_cv_func_grantpt" = xyes
|
||||
then :
|
||||
printf "%s\n" "#define HAVE_GRANTPT 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
ac_fn_c_check_func "$LINENO" "if_nameindex" "ac_cv_func_if_nameindex"
|
||||
if test "x$ac_cv_func_if_nameindex" = xyes
|
||||
|
|
@ -17823,6 +17829,12 @@ if test "x$ac_cv_func_posix_fallocate" = xyes
|
|||
then :
|
||||
printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
ac_fn_c_check_func "$LINENO" "posix_openpt" "ac_cv_func_posix_openpt"
|
||||
if test "x$ac_cv_func_posix_openpt" = xyes
|
||||
then :
|
||||
printf "%s\n" "#define HAVE_POSIX_OPENPT 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
ac_fn_c_check_func "$LINENO" "posix_spawn" "ac_cv_func_posix_spawn"
|
||||
if test "x$ac_cv_func_posix_spawn" = xyes
|
||||
|
|
@ -17877,6 +17889,18 @@ if test "x$ac_cv_func_pthread_kill" = xyes
|
|||
then :
|
||||
printf "%s\n" "#define HAVE_PTHREAD_KILL 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
ac_fn_c_check_func "$LINENO" "ptsname" "ac_cv_func_ptsname"
|
||||
if test "x$ac_cv_func_ptsname" = xyes
|
||||
then :
|
||||
printf "%s\n" "#define HAVE_PTSNAME 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
ac_fn_c_check_func "$LINENO" "ptsname_r" "ac_cv_func_ptsname_r"
|
||||
if test "x$ac_cv_func_ptsname_r" = xyes
|
||||
then :
|
||||
printf "%s\n" "#define HAVE_PTSNAME_R 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
ac_fn_c_check_func "$LINENO" "pwrite" "ac_cv_func_pwrite"
|
||||
if test "x$ac_cv_func_pwrite" = xyes
|
||||
|
|
@ -18285,6 +18309,12 @@ if test "x$ac_cv_func_unlinkat" = xyes
|
|||
then :
|
||||
printf "%s\n" "#define HAVE_UNLINKAT 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
ac_fn_c_check_func "$LINENO" "unlockpt" "ac_cv_func_unlockpt"
|
||||
if test "x$ac_cv_func_unlockpt" = xyes
|
||||
then :
|
||||
printf "%s\n" "#define HAVE_UNLOCKPT 1" >>confdefs.h
|
||||
|
||||
fi
|
||||
ac_fn_c_check_func "$LINENO" "utimensat" "ac_cv_func_utimensat"
|
||||
if test "x$ac_cv_func_utimensat" = xyes
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue