pipe: Set errno upon failure.
[gnulib.git] / modules / sys_socket-tests
index 9a23162..14af735 100644 (file)
@@ -1,13 +1,20 @@
 Files:
 tests/test-sys_socket.c
+tests/test-sys_socket-c++.cc
+tests/signature.h
 
 Depends-on:
+ansi-c++-opt
 
 configure.ac:
+AC_CHECK_FUNCS_ONCE([shutdown])
 
 Makefile.am:
 TESTS += test-sys_socket
 check_PROGRAMS += test-sys_socket
-
-License:
-LGPL
+if ANSICXX
+TESTS += test-sys_socket-c++
+check_PROGRAMS += test-sys_socket-c++
+test_sys_socket_c___SOURCES = test-sys_socket-c++.cc
+test_sys_socket_c___LDADD = $(LDADD) $(LIBINTL) $(LIBSOCKET) $(LIB_NANOSLEEP)
+endif