summaryrefslogtreecommitdiff
path: root/m4/fchdir.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/fchdir.m4')
-rw-r--r--m4/fchdir.m46
1 files changed, 2 insertions, 4 deletions
diff --git a/m4/fchdir.m4 b/m4/fchdir.m4
index 58c933cf30..fd170d2944 100644
--- a/m4/fchdir.m4
+++ b/m4/fchdir.m4
@@ -1,4 +1,4 @@
-# fchdir.m4 serial 3
+# fchdir.m4 serial 4
dnl Copyright (C) 2006-2007 Free Software Foundation, Inc.
dnl This file is free software; the Free Software Foundation
dnl gives unlimited permission to copy and/or distribute it,
@@ -14,13 +14,11 @@ AC_DEFUN([gl_FUNC_FCHDIR],
gl_PREREQ_FCHDIR
AC_DEFINE([FCHDIR_REPLACEMENT], 1,
[Define if gnulib's fchdir() replacement is used.])
- gl_ABSOLUTE_HEADER([dirent.h])
- ABSOLUTE_DIRENT_H=\"$gl_cv_absolute_dirent_h\"
+ gl_CHECK_NEXT_HEADERS([dirent.h])
DIRENT_H='dirent.h'
else
DIRENT_H=
fi
- AC_SUBST([ABSOLUTE_DIRENT_H])
AC_SUBST([DIRENT_H])
])