summaryrefslogtreecommitdiff
path: root/m4/closedir.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/closedir.m4')
-rw-r--r--m4/closedir.m48
1 files changed, 4 insertions, 4 deletions
diff --git a/m4/closedir.m4 b/m4/closedir.m4
index e679694557..0c9fd82de2 100644
--- a/m4/closedir.m4
+++ b/m4/closedir.m4
@@ -1,4 +1,4 @@
-# closedir.m4 serial 4
+# 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,
@@ -23,8 +23,8 @@ AC_DEFUN([gl_FUNC_CLOSEDIR],
fi
])
dnl Replace closedir() for supporting the gnulib-defined dirfd() function.
- case $host_os,$HAVE_OPENDIR in
- os2,1)
- REPLACE_OPENDIR=1;;
+ case $host_os,$HAVE_CLOSEDIR in
+ os2*,1)
+ REPLACE_CLOSEDIR=1;;
esac
])