view modules/poll-tests @ 14271:b4cc3c41ca79

libposix: Add _HEADERS primaries to posix modules. Modify gnulib-tool to strip them from generated Makefile.am-s where they are not needed. Also, replace M4 macro prefixes when requested. Finally, omit calls to error() for libposix.
author Bruce Korb <bkorb@gnu.org>
date Sat, 05 Feb 2011 08:22:48 -0800
parents 6f2010318304
children 3a4d1597833c
line wrap: on
line source

Files:
tests/signature.h
tests/test-poll.c

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

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@ $(INET_PTON_LIB)