diff options
author | Steve Bennett <steveb@workware.net.au> | 2020-04-20 20:59:04 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2020-05-06 11:23:14 +1000 |
commit | 46bbf5470e373d3b2a8282fe7b90d30c8da598fa (patch) | |
tree | 6190bde00c8a446fcab7c977b40500c2e17fd1c3 /auto.def | |
parent | 3c99fff83e7224ebe348c4840e13444e74f185a3 (diff) | |
download | jimtcl-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.def | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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} { |