Re: fix for link error on mingw with close module

2009-02-06 Thread Ben Pfaff
Simon Josefsson writes: > Ben Pfaff writes: > >> When the close module is used on Windows, lib/close.c calls >> functions that are defined in libws2_32, but there is nothing >> that will cause us to link against that library. Thus, this >> commit adds $(LIB_CLOSE) to put on the linker command l

Re: ifaddrs for AIX

2009-02-06 Thread Bruno Haible
Hello Rob, > FWIW - have written and tested 2 files for AIX 5.3 which may be useful to > gnulib (libc) Indeed this getifaddrs/freeifaddrs API is a portability problem. From the gnulib documentation [1][2] you can see that this API is also missing on other platforms: Solaris and Cygwin, in particu

Re: The havelib module

2009-02-06 Thread Simon Josefsson
Sylvain Beucler writes: > The AC_LIB_HAVE_LINKFLAGS macro generates options like > "--with-libmylib-prefix". Note that it also generate options like --with-libmylib. The --with-libmylib-prefix is there to allow users to set the path to where mylib will be found. The --without-libmylib-prefix i

Re: The havelib module

2009-02-06 Thread Sylvain Beucler
On Mon, Feb 02, 2009 at 09:18:14PM +0100, Simon Josefsson wrote: > Sylvain Beucler writes: > > > Hi, > > > > I'm trying to implement simply a '--with-mylib=/path/to/mylib' option > > in 'configure', and I'm wondering if the 'havelib' would help. > > Hi. I believe it does. > > > However I don't

Re: fix for link error on mingw with close module

2009-02-06 Thread Simon Josefsson
Ben Pfaff writes: > When the close module is used on Windows, lib/close.c calls > functions that are defined in libws2_32, but there is nothing > that will cause us to link against that library. Thus, this > commit adds $(LIB_CLOSE) to put on the linker command line to > supply -lws2_32 when nec

u32 and towupper

2009-02-06 Thread Mike Gran
Hi- As far as I can tell, the ISO C towupper will probably work correctly on UCS-4 characters created by Gnulib functions like u32_conv_from_enc.  But, it seems that it isn't guaranteed to do so, since wint_t is not required to be UCS-4.  (I don't have a counterexample: I'm just going from what

ifaddrs for AIX

2009-02-06 Thread Rob W
FWIW - have written and tested 2 files for AIX 5.3 which may be useful to gnulib (libc) header file - ifaddrs.h #ifndef GENERIC_AIX_IFADDRS_H #define GENERIC_AIX_IFADD

fix for link error on mingw with close module

2009-02-06 Thread Ben Pfaff
When the close module is used on Windows, lib/close.c calls functions that are defined in libws2_32, but there is nothing that will cause us to link against that library. Thus, this commit adds $(LIB_CLOSE) to put on the linker command line to supply -lws2_32 when necessary. This might need a lit

Re: error compiling regex gnulib module with pgcc compiler

2009-02-06 Thread Jim Meyering
Bruno Haible wrote: > Jim Meyering wrote: >> I'm reverting this patch, >> >> http://git.sv.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=e48d8b47fb3eee8 >> >> since with the upcoming gcc-4.4 it causes a compilation error: >> >> regex_internal.h:189:55: error: integer overflow in preprocessor