Hi Paolo,
Compiling the testdir for module 'select'
./gnulib-tool --create-testdir --dir=... --with-tests select
on Linux, with -Wall, yields this warning:
test-select.c: Dans la fonction « test_accept_first »:
test-select.c:289: Warnung: implicit declaration of function `wait'
I'm applying this fix (like in the poll-tests module):
2008-11-07 Bruno Haible <[EMAIL PROTECTED]>
* modules/select-tests (configure.ac): Check for unistd.h, sys/wait.h.
--- modules/select-tests.orig 2008-11-08 14:47:58.000000000 +0100
+++ modules/select-tests 2008-11-08 14:46:33.000000000 +0100
@@ -26,6 +26,7 @@
gettimeofday
configure.ac:
+AC_CHECK_HEADERS_ONCE([unistd.h sys/wait.h])
Makefile.am:
TESTS += test-select test-select-in.sh test-select-out.sh