summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorSoumendra Ganguly <67527439+8vasu@users.noreply.github.com>2024-01-29 16:10:28 (GMT)
committerGitHub <noreply@github.com>2024-01-29 16:10:28 (GMT)
commite351ca3c205860e94cad5da25c74bd76933f5f11 (patch)
tree81531a49ba50989ad202ce1afe73b8ef3cb01da7 /configure
parent0f54ee4c6cdba74492183eb2dd142393c7dba403 (diff)
downloadcpython-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-xconfigure30
1 files changed, 30 insertions, 0 deletions
diff --git a/configure b/configure
index c563c3f..adc5a8f 100755
--- a/configure
+++ b/configure
@@ -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 :