diff options
Diffstat (limited to 'gl/m4')
-rw-r--r-- | gl/m4/close.m4 | 2 | ||||
-rw-r--r-- | gl/m4/sockets.m4 | 4 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gl/m4/close.m4 b/gl/m4/close.m4 index fcc9fb1952..29d3abdd13 100644 --- a/gl/m4/close.m4 +++ b/gl/m4/close.m4 @@ -22,4 +22,6 @@ AC_DEFUN([gl_REPLACE_CLOSE], fi REPLACE_CLOSE=1 gl_REPLACE_FCLOSE + LIB_CLOSE="-lws2_32" + AC_SUBST([LIB_CLOSE]) ]) diff --git a/gl/m4/sockets.m4 b/gl/m4/sockets.m4 index d5a7dbfb4b..db71bf14a0 100644 --- a/gl/m4/sockets.m4 +++ b/gl/m4/sockets.m4 @@ -1,4 +1,4 @@ -# sockets.m4 serial 4 +# sockets.m4 serial 5 dnl Copyright (C) 2008, 2009 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -6,6 +6,8 @@ dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_SOCKETS], [ + AC_REQUIRE([AC_C_INLINE]) + gl_PREREQ_SYS_H_WINSOCK2 dnl for HAVE_WINSOCK2_H LIBSOCKET= if test $HAVE_WINSOCK2_H = 1; then |