gl_GETADDRINFO uses the following to test for getaddrinfo: AC_SEARCH_LIBS(getaddrinfo, [nsl socket])
This won't work on Tru64 UNIX 5.1. No getaddrinfo() function exists in libc. Rather, there exists ngetaddrinfo() and ogetaddrinfo(): $ nm /usr/shlib/libc.so|grep getaddrinfo ngetaddrinfo | 0004395900636352 | T | 0000000000000008 ogetaddrinfo | 0004395900637184 | T | 0000000000000008 >From <netdb.h>: #if defined (_SOCKADDR_LEN) || defined (_XOPEN_SOURCE_EXTENDED) #define getaddrinfo ngetaddrinfo #else #define getaddrinfo ogetaddrinfo #endif The best way to test for getaddrinfo() is to compile a small program using the function and include <netdb.h>. -- albert chin ([EMAIL PROTECTED])