Hi,
using CVS version - how do I know? from today anyway - , configure.in 1.26, the newly used g*_r() functions aren't found correctly. Reason: the "Solaris specific" section is below them, yet compiling with them relies on the flag "lnsl".
Yet if you move the Solaris section upwards, it still won't work, because you're putting these flags in SOCKET_LIB instead of adding them to LDFLAGS or LIBS, so that they are used in the further builds during ./configure.
I'm attaching a patch for configure.in which moves the "-lnsl" sections up, and uses LIBS="$LIBS ..." instead of SOCKET_LIB="...". (Same for OS/2.)
There must be other fine configure.in templates for globally recognizing whether -lnsl et.al. are needed? I could think of something like an AC_CHECK_LIB(nsl, gethostbyaddr) in the fail case of AC_CHECK_FUNC(gethostbyaddr,,)... I'm no autoconf expert though. ;-)
Thanks for listening! I love this tool, so I won't stop nagging until it builds out of the box everywhere. :)
Regards,
Moritz
patch for correct recognition of reentrant funcs on Solaris
Logged In: YES
user_id=78811
Ooops, seems we overlooked that someone
already solved Bug ID 509906. Thanks
anyway, Moritz!