configure: inet_ntop and inet_pton depend on -lsocket on Solaris

Austin English austinenglish at gmail.com
Sat Mar 28 00:13:09 CDT 2009


Was causing an unused variable in ws2_32/socket.c:
socket.c: In function `WSAStringToAddressA':
socket.c:4660: warning: unused variable `inetaddr'

-- 
-Austin
-------------- next part --------------
diff --git a/configure.ac b/configure.ac
index c13abc4..9c90bff 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1456,8 +1456,6 @@ AC_CHECK_FUNCS(\
 	gettid \
 	gettimeofday \
 	getuid \
-	inet_ntop \
-	inet_pton \
 	kqueue \
 	lstat \
 	memmove \
@@ -1530,6 +1528,8 @@ AC_CHECK_FUNCS(\
 	getprotobynumber \
 	getservbyport \
 	inet_network \
+	inet_ntop \
+	inet_pton \
 	sendmsg \
 	socketpair \
 )


More information about the wine-patches mailing list