Comments for a patch?

Dan Kegel dank at
Wed Apr 18 19:02:24 CDT 2007

I'm not an autoconf guru, but I play one on TV.

You wrote:

+    [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?


- Dan

More information about the wine-devel mailing list