changeset 30294:4ec40d7e9c38

m4/sys_socket_h.m4: Don't AC_LIBOBJ(winsock).
author Simon Josefsson <simon@josefsson.org>
date Wed, 08 Oct 2008 17:57:12 +0200
parents b14fe0aab62a
children 1b9353d26a5b
files ChangeLog m4/sys_socket_h.m4
diffstat 2 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Wed Oct 08 08:46:29 2008 -0600
+++ b/ChangeLog	Wed Oct 08 17:57:12 2008 +0200
@@ -1,3 +1,9 @@
+2008-10-08  Simon Josefsson  <simon@josefsson.org>
+
+	* m4/sys_socket_h.m4: Don't AC_LIBOBJ(winsock).  The file is
+	AC_LIBOBJ'ed by each gnulib module that needs it (e.g., socket,
+	listen).
+
 2008-10-08  Eric Blake  <ebb9@byu.net>
 
 	GNUmakefile: add 'make version' target
--- a/m4/sys_socket_h.m4	Wed Oct 08 08:46:29 2008 -0600
+++ b/m4/sys_socket_h.m4	Wed Oct 08 17:57:12 2008 +0200
@@ -60,9 +60,6 @@
       fi
     fi
     gl_PREREQ_SYS_H_WINSOCK2
-    if test x$ac_cv_header_winsock2_h = xyes; then
-      AC_LIBOBJ(winsock)
-    fi
     AC_SUBST([HAVE_SYS_SOCKET_H])
     AC_SUBST([HAVE_WS2TCPIP_H])
   fi