* modules/close: Add $(LIB_CLOSE) to Link section.
* m4/close.m4 (gl_REPLACE_CLOSE): Substitute -lws2_32 into
$(LIB_CLOSE) on Windows.
+2009-02-05 Ben Pfaff <blp@gnu.org>
+
+ Fix link errors on Windows when close module is used.
+ * modules/close: Add $(LIB_CLOSE) to Link section.
+ * m4/close.m4 (gl_REPLACE_CLOSE): Substitute -lws2_32 into
+ $(LIB_CLOSE) on Windows.
+
2009-02-05 Jim Meyering <meyering@redhat.com>
still avoid unused-parameter warnings, but do it cleanly
fi
REPLACE_CLOSE=1
gl_REPLACE_FCLOSE
+ LIB_CLOSE="-lws2_32"
+ AC_SUBST([LIB_CLOSE])
])
Include:
<unistd.h>
+Link:
+$(LIB_CLOSE)
+
License:
LGPLv2+