aboutsummaryrefslogtreecommitdiff
path: root/auto.def
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2020-04-20 20:59:04 +1000
committerSteve Bennett <steveb@workware.net.au>2020-05-06 11:23:14 +1000
commit46bbf5470e373d3b2a8282fe7b90d30c8da598fa (patch)
tree6190bde00c8a446fcab7c977b40500c2e17fd1c3 /auto.def
parent3c99fff83e7224ebe348c4840e13444e74f185a3 (diff)
downloadjimtcl-46bbf5470e373d3b2a8282fe7b90d30c8da598fa.zip
jimtcl-46bbf5470e373d3b2a8282fe7b90d30c8da598fa.tar.gz
jimtcl-46bbf5470e373d3b2a8282fe7b90d30c8da598fa.tar.bz2
aio: Add socket pty
Allows a psuedo-tty pair to be created. Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'auto.def')
-rw-r--r--auto.def5
1 files changed, 4 insertions, 1 deletions
diff --git a/auto.def b/auto.def
index 4a891de..7483db2 100644
--- a/auto.def
+++ b/auto.def
@@ -122,7 +122,7 @@ if {[opt-bool coverage]} {
}
cc-check-includes time.h sys/time.h sys/socket.h netinet/in.h arpa/inet.h netdb.h
-cc-check-includes sys/un.h dlfcn.h unistd.h dirent.h crt_externs.h
+cc-check-includes util.h pty.h sys/un.h dlfcn.h unistd.h dirent.h crt_externs.h
# Check sizeof time_t so we can warn on non-Y2038 compliance
cc-with {-includes time.h} {
@@ -152,6 +152,9 @@ cc-check-functions localtime gmtime strptime clock_gettime
if {[cc-check-function-in-lib backtrace execinfo]} {
define-append LDLIBS [get-define lib_backtrace]
}
+if {[cc-check-function-in-lib openpty util]} {
+ define-append LDLIBS [get-define lib_openpty]
+}
if {[cc-check-functions sysinfo]} {
cc-with {-includes sys/sysinfo.h} {