view modules/pselect-tests @ 15742:13505a7899dc

select: Avoid link errors on MSVC. * m4/select.m4 (gl_FUNC_SELECT): Determine LIB_SELECT. * modules/select (Link): Replace $(LIBSOCKET) with $(LIB_SELECT). * modules/pselect (Link): Likewise. * NEWS: Mention the change. * modules/select-tests (Makefile.am): Link test-select, test-select-fd, test-select-stdin against $(LIB_SELECT). * modules/pselect-tests (Makefile.am): Link test-pselect against $(LIB_SELECT).
author Bruno Haible <bruno@clisp.org>
date Thu, 22 Sep 2011 23:45:06 +0200
parents 78d76c49295d
children
line wrap: on
line source

Files:
tests/test-pselect.c
tests/test-select.h
tests/macros.h
tests/signature.h

Depends-on:
stdbool
netinet_in
arpa_inet
unistd
sys_ioctl
extensions
inet_pton
errno
perror
pipe-posix
socket
bind
setsockopt
listen
connect
accept
ioctl
close

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

Makefile.am:
TESTS += test-pselect
check_PROGRAMS += test-pselect
test_pselect_LDADD = $(LDADD) @LIB_SELECT@ @LIBSOCKET@ @LIB_PTHREAD_SIGMASK@ $(INET_PTON_LIB)