summaryrefslogtreecommitdiff
path: root/m4/fchdir.m4
diff options
context:
space:
mode:
authorPaolo Bonzini <bonzini@gnu.org>2008-10-09 23:47:06 +0200
committerBruno Haible <bruno@clisp.org>2008-10-09 23:47:06 +0200
commit863234aa6007a9c337cf62def1c3593b5a14cb44 (patch)
tree912525784e7c39479098b00f96f36e14c7b30c26 /m4/fchdir.m4
parentff3d0c911116c570b7ea28a9be38fca5edd4dc9c (diff)
downloadgnulib-863234aa6007a9c337cf62def1c3593b5a14cb44.tar.gz
Merge the two replacements for open() into a single one.
Diffstat (limited to 'm4/fchdir.m4')
-rw-r--r--m4/fchdir.m45
1 files changed, 3 insertions, 2 deletions
diff --git a/m4/fchdir.m4 b/m4/fchdir.m4
index fd170d2944..37d3a55b9d 100644
--- a/m4/fchdir.m4
+++ b/m4/fchdir.m4
@@ -1,5 +1,5 @@
-# fchdir.m4 serial 4
-dnl Copyright (C) 2006-2007 Free Software Foundation, Inc.
+# fchdir.m4 serial 5
+dnl Copyright (C) 2006-2008 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.
@@ -14,6 +14,7 @@ AC_DEFUN([gl_FUNC_FCHDIR],
gl_PREREQ_FCHDIR
AC_DEFINE([FCHDIR_REPLACEMENT], 1,
[Define if gnulib's fchdir() replacement is used.])
+ gl_REPLACE_OPEN
gl_CHECK_NEXT_HEADERS([dirent.h])
DIRENT_H='dirent.h'
else