X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=m4%2Fclosedir.m4;h=0c9fd82de2a4aa7c05d4ef6fd542c73e707a78bb;hb=357a301170a6a584ee28c92edc9f2d385bbf8d85;hp=bb8708b69b3a04d9eeb6ad7cabb68dd09c43e2c5;hpb=d57728a6ca2413a7c564d8b7bb13d9e5a5a180f3;p=debian%2Fgzip diff --git a/m4/closedir.m4 b/m4/closedir.m4 index bb8708b..0c9fd82 100644 --- a/m4/closedir.m4 +++ b/m4/closedir.m4 @@ -1,5 +1,5 @@ -# closedir.m4 serial 2 -dnl Copyright (C) 2011-2013 Free Software Foundation, Inc. +# closedir.m4 serial 5 +dnl Copyright (C) 2011-2016 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. @@ -22,4 +22,9 @@ AC_DEFUN([gl_FUNC_CLOSEDIR], fi fi ]) + dnl Replace closedir() for supporting the gnulib-defined dirfd() function. + case $host_os,$HAVE_CLOSEDIR in + os2*,1) + REPLACE_CLOSEDIR=1;; + esac ])