Mercurial > hg > octave-kai > gnulib-hg
changeset 15653:f60ae63f5f6c
socket functions: Avoid link errors on Solaris.
* modules/accept (Depends-on): Add socketlib.
(Link): New section.
* modules/bind (Depends-on): Add socketlib.
(Link): New section.
* modules/connect (Depends-on): Add socketlib.
(Link): New section.
* modules/getpeername (Depends-on): Add socketlib.
(Link): New section.
* modules/getsockname (Depends-on): Add socketlib.
(Link): New section.
* modules/getsockopt (Depends-on): Add socketlib.
(Link): New section.
* modules/listen (Depends-on): Add socketlib.
(Link): New section.
* modules/recv (Depends-on): Add socketlib.
(Link): New section.
* modules/recvfrom (Depends-on): Add socketlib.
(Link): New section.
* modules/send (Depends-on): Add socketlib.
(Link): New section.
* modules/sendto (Depends-on): Add socketlib.
(Link): New section.
* modules/setsockopt (Depends-on): Add socketlib.
(Link): New section.
* modules/shutdown (Depends-on): Add socketlib.
(Link): New section.
* modules/socket (Depends-on): Add socketlib.
(Link): New section.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Mon, 19 Sep 2011 02:13:59 +0200 |
parents | 66bab2a591f5 |
children | 22ebda56bdbd |
files | ChangeLog modules/accept modules/bind modules/connect modules/getpeername modules/getsockname modules/getsockopt modules/listen modules/recv modules/recvfrom modules/send modules/sendto modules/setsockopt modules/shutdown modules/socket |
diffstat | 15 files changed, 88 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,35 @@ +2011-09-18 Bruno Haible <bruno@clisp.org> + + socket functions: Avoid link errors on Solaris. + * modules/accept (Depends-on): Add socketlib. + (Link): New section. + * modules/bind (Depends-on): Add socketlib. + (Link): New section. + * modules/connect (Depends-on): Add socketlib. + (Link): New section. + * modules/getpeername (Depends-on): Add socketlib. + (Link): New section. + * modules/getsockname (Depends-on): Add socketlib. + (Link): New section. + * modules/getsockopt (Depends-on): Add socketlib. + (Link): New section. + * modules/listen (Depends-on): Add socketlib. + (Link): New section. + * modules/recv (Depends-on): Add socketlib. + (Link): New section. + * modules/recvfrom (Depends-on): Add socketlib. + (Link): New section. + * modules/send (Depends-on): Add socketlib. + (Link): New section. + * modules/sendto (Depends-on): Add socketlib. + (Link): New section. + * modules/setsockopt (Depends-on): Add socketlib. + (Link): New section. + * modules/shutdown (Depends-on): Add socketlib. + (Link): New section. + * modules/socket (Depends-on): Add socketlib. + (Link): New section. + 2011-09-18 Bruno Haible <bruno@clisp.org> ptsname tests: Let the test fail rather than hang (e.g. on AIX 5.1).
--- a/modules/accept +++ b/modules/accept @@ -7,6 +7,7 @@ Depends-on: sys_socket +socketlib errno [test "$ac_cv_header_winsock2_h" = yes] configure.ac: @@ -21,6 +22,9 @@ Include: <sys/socket.h> +Link: +$(LIBSOCKET) + License: LGPLv2+
--- a/modules/bind +++ b/modules/bind @@ -7,6 +7,7 @@ Depends-on: sys_socket +socketlib errno [test "$ac_cv_header_winsock2_h" = yes] configure.ac: @@ -21,6 +22,9 @@ Include: <sys/socket.h> +Link: +$(LIBSOCKET) + License: LGPLv2+
--- a/modules/connect +++ b/modules/connect @@ -7,6 +7,7 @@ Depends-on: sys_socket +socketlib errno [test "$ac_cv_header_winsock2_h" = yes] configure.ac: @@ -21,6 +22,9 @@ Include: <sys/socket.h> +Link: +$(LIBSOCKET) + License: LGPLv2+
--- a/modules/getpeername +++ b/modules/getpeername @@ -8,6 +8,7 @@ Depends-on: sys_socket +socketlib errno [test "$ac_cv_header_winsock2_h" = yes] configure.ac: @@ -22,6 +23,9 @@ Include: <sys/socket.h> +Link: +$(LIBSOCKET) + License: LGPLv2+
--- a/modules/getsockname +++ b/modules/getsockname @@ -8,6 +8,7 @@ Depends-on: sys_socket +socketlib errno [test "$ac_cv_header_winsock2_h" = yes] configure.ac: @@ -22,6 +23,9 @@ Include: <sys/socket.h> +Link: +$(LIBSOCKET) + License: LGPLv2+
--- a/modules/getsockopt +++ b/modules/getsockopt @@ -7,6 +7,7 @@ Depends-on: sys_socket +socketlib sys_time [test "$ac_cv_header_winsock2_h" = yes] errno [test "$ac_cv_header_winsock2_h" = yes] @@ -22,6 +23,9 @@ Include: <sys/socket.h> +Link: +$(LIBSOCKET) + License: LGPLv2+
--- a/modules/listen +++ b/modules/listen @@ -7,6 +7,7 @@ Depends-on: sys_socket +socketlib errno [test "$ac_cv_header_winsock2_h" = yes] configure.ac: @@ -21,6 +22,9 @@ Include: <sys/socket.h> +Link: +$(LIBSOCKET) + License: LGPLv2+
--- a/modules/recv +++ b/modules/recv @@ -7,6 +7,7 @@ Depends-on: sys_socket +socketlib errno [test "$ac_cv_header_winsock2_h" = yes] configure.ac: @@ -21,6 +22,9 @@ Include: <sys/socket.h> +Link: +$(LIBSOCKET) + License: LGPLv2+
--- a/modules/recvfrom +++ b/modules/recvfrom @@ -7,6 +7,7 @@ Depends-on: sys_socket +socketlib errno [test "$ac_cv_header_winsock2_h" = yes] getpeername [test "$ac_cv_header_winsock2_h" = yes] @@ -22,6 +23,9 @@ Include: <sys/socket.h> +Link: +$(LIBSOCKET) + License: LGPLv2+
--- a/modules/send +++ b/modules/send @@ -7,6 +7,7 @@ Depends-on: sys_socket +socketlib errno [test "$ac_cv_header_winsock2_h" = yes] configure.ac: @@ -21,6 +22,9 @@ Include: <sys/socket.h> +Link: +$(LIBSOCKET) + License: LGPLv2+
--- a/modules/sendto +++ b/modules/sendto @@ -7,6 +7,7 @@ Depends-on: sys_socket +socketlib errno [test "$ac_cv_header_winsock2_h" = yes] configure.ac: @@ -21,6 +22,9 @@ Include: <sys/socket.h> +Link: +$(LIBSOCKET) + License: LGPLv2+
--- a/modules/setsockopt +++ b/modules/setsockopt @@ -7,6 +7,7 @@ Depends-on: sys_socket +socketlib sys_time [test "$ac_cv_header_winsock2_h" = yes] errno [test "$ac_cv_header_winsock2_h" = yes] @@ -22,6 +23,9 @@ Include: <sys/socket.h> +Link: +$(LIBSOCKET) + License: LGPLv2+