Comments for a patch?
dank at kegel.com
Wed Apr 18 19:02:24 CDT 2007
I'm not an autoconf guru, but I play one on TV.
+AC_CHECK_FUNC(getaddrinfo, [AC_DEFINE([HAVE_GETADDRINFO], ,
+ [Defined to 1 if you have the getadrinfo function,])],
+ [AC_CHECK_LIB(socket, getaddrinfo,
+ [AC_DEFINE([HAVE_GETADDRINFO]) LIBS="-lsocket -lnsl $LIBS"], , , -lnsl)])
I'm not sure it's healthy to assume that -lsocket and -lnsl go
together like that. Have you looked at how Samba does it?
More information about the wine-devel