Re: sockets module and Solaris

2008-09-29 Thread Paolo Bonzini
> *** modules/poll-tests.orig 2008-09-29 11:32:59.0 +0200 > --- modules/poll-tests2008-09-29 11:32:45.0 +0200 > *** > *** 18,20 > --- 18,21 > Makefile.am: > TESTS += test-poll > check_PROGRAMS += test-poll > + test_poll_LDADD = $(LDADD) @LIBSOC

Re: sockets module and Solaris

2008-09-29 Thread Paolo Bonzini
> *** modules/sys_select-tests.orig 2008-09-28 20:36:59.0 +0200 > --- modules/sys_select-tests 2008-09-28 19:43:06.0 +0200 > *** > *** 16,21 > --- 16,22 > Makefile.am: > TESTS += test-sys_select > check_PROGRAMS += test-sys_select > + test_sys_selec

Re: sockets module and Solaris

2008-09-29 Thread Bruno Haible
Hi Simon, > Ah, yes, I remember this. The module was never tested on Solaris > before. Btw, possibly you'll need -lnsl too? I recall that the idiom > to get anything moderately complex to build on Solaris was to add -lnsl > -lsockets. No, -lnsl is not needed always, and in particular not for t

Re: sockets module and Solaris

2008-09-29 Thread Simon Josefsson
Bruno Haible <[EMAIL PROTECTED]> writes: > Hi Simon, > > Here are two change requests regarding the 'sockets' module: > > 1) Currently it adds the library option -lws2_32 to LIBS. But I don't want >to link all gettext tools against this libray, just because one program >(test-sys_select) n

sockets module and Solaris

2008-09-28 Thread Bruno Haible
Hi Simon, Here are two change requests regarding the 'sockets' module: 1) Currently it adds the library option -lws2_32 to LIBS. But I don't want to link all gettext tools against this libray, just because one program (test-sys_select) needs to link with it. So I propose to introduce a v