diff options
author | Soumendra Ganguly <67527439+8vasu@users.noreply.github.com> | 2024-01-29 16:10:28 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-29 16:10:28 (GMT) |
commit | e351ca3c205860e94cad5da25c74bd76933f5f11 (patch) | |
tree | 81531a49ba50989ad202ce1afe73b8ef3cb01da7 /configure | |
parent | 0f54ee4c6cdba74492183eb2dd142393c7dba403 (diff) | |
download | cpython-e351ca3c205860e94cad5da25c74bd76933f5f11.zip cpython-e351ca3c205860e94cad5da25c74bd76933f5f11.tar.gz cpython-e351ca3c205860e94cad5da25c74bd76933f5f11.tar.bz2 |
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>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 30 |
1 files changed, 30 insertions, 0 deletions
@@ -17638,6 +17638,12 @@ 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 then : @@ -17824,6 +17830,12 @@ 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 then : @@ -17878,6 +17890,18 @@ 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 then : @@ -18286,6 +18310,12 @@ 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 then : |