view modules/poll-tests @ 30228:50a53b084871

Set LIBSOCKET instead of augmenting LIBS. Also handle Solaris -lsocket.
author Bruno Haible <bruno@clisp.org>
date Mon, 29 Sep 2008 11:34:31 +0200
parents 27e770162c3f
children 43282f926709
line wrap: on
line source

Files:
tests/test-poll.c

Depends-on:
stdbool
sys_socket
netinet_in
arpa_inet
extensions
inet_pton
errno
perror
sockets

configure.ac:
AC_CHECK_HEADERS_ONCE([unistd.h sys/wait.h])

Makefile.am:
TESTS += test-poll
check_PROGRAMS += test-poll
test_poll_LDADD = $(LDADD) @LIBSOCKET@