Hash :
c1591bd5
Author :
Date :
2008-11-08T14:48:57
Ensure tests/test-select.c includes <unistd.h> and <sys/wait.h> on Unix.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
Files:
tests/test-select.c
tests/test-select-fd.c
tests/test-select-in.sh
tests/test-select-out.sh
tests/test-select-stdin.c
Depends-on:
stdbool
netinet_in
arpa_inet
sys_ioctl
extensions
inet_pton
errno
perror
sockets
socket
bind
setsockopt
listen
connect
accept
ioctl
close
gettimeofday
configure.ac:
AC_CHECK_HEADERS_ONCE([unistd.h sys/wait.h])
Makefile.am:
TESTS += test-select test-select-in.sh test-select-out.sh
# test-select-stdin has to be run by hand.
TESTS_ENVIRONMENT += EXEEXT='@EXEEXT@'
check_PROGRAMS += test-select test-select-fd test-select-stdin
test_select_LDADD = $(LDADD) @LIBSOCKET@
test_select_fd_LDADD = $(LDADD) @LIBSOCKET@
test_select_stdin_LDADD = $(LDADD) @LIBSOCKET@
License:
LGPL