summaryrefslogtreecommitdiff
path: root/m4/closedir.m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-01-24 14:13:41 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2016-01-24 14:15:37 -0800
commitb701042f59e54c4d992e36698cf498b711e9af01 (patch)
tree0869efa668cfa93f7c17dd66583b125ebc2dff5d /m4/closedir.m4
parent8cbbfb7e58e95977333ded04252b0519e0312026 (diff)
downloadgnulib-b701042f59e54c4d992e36698cf498b711e9af01.tar.gz
closedir: fix OS/2-related typos
Problem reported by KO Myung-Hun in: http://lists.gnu.org/archive/html/bug-gnulib/2016-01/msg00107.html * m4/closedir.m4 (gl_FUNC_CLOSEDIR): Fix a couple of typos in the last couple of changes.
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
])