Mercurial > hg > octave-shane > gnulib-hg
view modules/poll-tests @ 15824:3a4d1597833c
poll: Avoid link errors on MSVC.
* m4/poll.m4 (gl_FUNC_POLL): Determine LIB_POLL.
* modules/poll (Depends-on): Add sockets.
(Link): New section.
* NEWS: Mention the change.
* modules/poll-tests (Makefile.am): Link test-poll against $(LIB_POLL).
* modules/poll-h-c++-tests (Makefile.am): Link test-poll-h-c++ against
$(LIB_POLL) instead of $(LIBSOCKET).
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Tue, 04 Oct 2011 03:33:21 +0200 |
parents | 6f2010318304 |
children | 46aabacf4f15 |
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) $(LIB_POLL) @LIBSOCKET@ $(INET_PTON_LIB)