aboutsummaryrefslogtreecommitdiff
path: root/auto.def
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2011-05-27 11:13:53 +1000
committerSteve Bennett <steveb@workware.net.au>2013-12-21 01:30:02 +1000
commit63bc08c2ec6e1744eed22160f8b7fd1078a9b49f (patch)
tree3753c1dcb431c569dcc234d6a1740fb625cf90f7 /auto.def
parentcee11498057b7aa8045a50967c54e010e9a97cfe (diff)
downloadjimtcl-63bc08c2ec6e1744eed22160f8b7fd1078a9b49f.zip
jimtcl-63bc08c2ec6e1744eed22160f8b7fd1078a9b49f.tar.gz
jimtcl-63bc08c2ec6e1744eed22160f8b7fd1078a9b49f.tar.bz2
Add support for 'socket pair'
Creates a pair of bidirectional sockets with socketpair(2) Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'auto.def')
-rw-r--r--auto.def3
1 files changed, 2 insertions, 1 deletions
diff --git a/auto.def b/auto.def
index 59baea0..974ecfe 100644
--- a/auto.def
+++ b/auto.def
@@ -87,7 +87,8 @@ cc-check-functions ualarm lstat fork vfork system select execvpe
cc-check-functions backtrace geteuid mkstemp realpath strptime isatty
cc-check-functions regcomp waitpid sigaction sys_signame sys_siglist isascii
cc-check-functions syslog opendir readlink sleep usleep pipe getaddrinfo utimes
-cc-check-functions shutdown
+cc-check-functions shutdown socketpair
+
if {[cc-check-functions sysinfo]} {
cc-with {-includes sys/sysinfo.h} {
cc-check-members "struct sysinfo.uptime"