X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=m4%2Fclose.m4;h=b1189f5f508f694ff3308e25c51f13bbd5ddc2d7;hb=4097b52187106b6a2940d28968cfecd4e53f9b4e;hp=edfcfec59accd6d29ace135c002ca5adf29603f8;hpb=d638ad2325cc24731a6deda2cb8d530d1c380a3a;p=gnulib.git diff --git a/m4/close.m4 b/m4/close.m4 index edfcfec59..b1189f5f5 100644 --- a/m4/close.m4 +++ b/m4/close.m4 @@ -1,12 +1,17 @@ -# close.m4 serial 1 -dnl Copyright (C) 2008 Free Software Foundation, Inc. +# close.m4 serial 3 +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, dnl with or without modifications, as long as this notice is preserved. AC_DEFUN([gl_FUNC_CLOSE], [ - : + m4_ifdef([gl_PREREQ_SYS_H_WINSOCK2], [ + gl_PREREQ_SYS_H_WINSOCK2 + if test $UNISTD_H_HAVE_WINSOCK2_H = 1; then + gl_REPLACE_CLOSE + fi + ]) ]) AC_DEFUN([gl_REPLACE_CLOSE], @@ -16,4 +21,5 @@ AC_DEFUN([gl_REPLACE_CLOSE], AC_LIBOBJ([close]) fi REPLACE_CLOSE=1 + gl_REPLACE_FCLOSE ])