2 getpeername() function: return information about the remote end of a connected
13 errno-h [test "$ac_cv_header_winsock2_h" = yes]
14 msvc-nothrow [test "$ac_cv_header_winsock2_h" = yes]
17 AC_REQUIRE([gl_SYS_SOCKET_H])
18 gl_CONDITIONAL([GL_COND_OBJ_GETPEERNAME],
19 [test "$ac_cv_header_winsock2_h" = yes])
20 gl_SYS_SOCKET_MODULE_INDICATOR([getpeername])
21 gl_MODULE_INDICATOR([getpeername])
24 if GL_COND_OBJ_GETPEERNAME
25 lib_SOURCES += getpeername.c
38 Paolo Bonzini, Simon Josefsson