m4/sys_socket_h.m4: Don't AC_LIBOBJ(winsock).
authorSimon Josefsson <simon@josefsson.org>
Wed, 8 Oct 2008 15:57:12 +0000 (17:57 +0200)
committerSimon Josefsson <simon@josefsson.org>
Wed, 8 Oct 2008 15:57:12 +0000 (17:57 +0200)
ChangeLog
m4/sys_socket_h.m4

index 744cd1b..efba7d9 100644 (file)
--- 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
index 9981abc..1e38ee3 100644 (file)
@@ -60,9 +60,6 @@ AC_DEFUN([gl_HEADER_SYS_SOCKET],
       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