changeset 10603:1615784f409b

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 2857db90cf99
children 927e98bc24ad
files ChangeLog m4/sys_socket_h.m4
diffstat 2 files changed, 6 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
+++ b/m4/sys_socket_h.m4
@@ -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