diff options
Diffstat (limited to 'modules/dirfd')
-rw-r--r-- | modules/dirfd | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/modules/dirfd b/modules/dirfd index 0ffcf7ebbd..a87fa8b2e7 100644 --- a/modules/dirfd +++ b/modules/dirfd @@ -3,17 +3,18 @@ Retrieving the file descriptor of an open directory stream. (Unportable.) Files: lib/dirfd.c +lib/dirent-private.h m4/dirfd.m4 Depends-on: dirent extensions -errno [test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no || test $REPLACE_DIRFD = 1] +errno [test $HAVE_DIRFD = 0 || test $REPLACE_DIRFD = 1] configure.ac: gl_FUNC_DIRFD gl_CONDITIONAL([GL_COND_OBJ_DIRFD], - [test $ac_cv_func_dirfd = no && test $gl_cv_func_dirfd_macro = no || test $REPLACE_DIRFD = 1]) + [test $HAVE_DIRFD = 0 || test $REPLACE_DIRFD = 1]) AM_COND_IF([GL_COND_OBJ_DIRFD], [ gl_PREREQ_DIRFD ]) |