view modules/nonblocking-socket-tests @ 14848:701eb96461de

Fix link errors in tests: wait-process uses gettext-h. * modules/nonblocking-pipe-tests (Makefile.am): Set test_nonblocking_pipe_main_LDADD. * modules/nonblocking-socket-tests (Makefile.am): Link test-nonblocking-socket-main against $(LIBINTL). Reported by Tom G. Christensen <tgc@jupiterrise.com>.
author Bruno Haible <bruno@clisp.org>
date Tue, 31 May 2011 00:44:51 +0200
parents e0d0a4052520
children 88ce25e2dffc
line wrap: on
line source

Files:
tests/test-nonblocking-socket.sh
tests/test-nonblocking-socket-main.c
tests/test-nonblocking-socket-child.c
tests/test-nonblocking-socket.h
tests/test-nonblocking-writer.h
tests/test-nonblocking-reader.h
tests/test-nonblocking-misc.h
tests/socket-server.h
tests/socket-client.h
tests/macros.h

Depends-on:
stdbool
unistd
sys_socket
nonblocking
wait-process
environ
posix_spawnp
netinet_in
arpa_inet
socket
setsockopt
bind
getsockname
listen
accept
getsockopt
connect
gettimeofday
snprintf
vsnprintf
strerror
ssize_t
usleep
read
write

configure.ac:

Makefile.am:
TESTS += test-nonblocking-socket.sh
check_PROGRAMS += test-nonblocking-socket-main test-nonblocking-socket-child
test_nonblocking_socket_main_LDADD = $(LDADD) $(LIBSOCKET) @LIBINTL@
test_nonblocking_socket_child_LDADD = $(LDADD) $(LIBSOCKET)