REPLACE_OPENDIR=1
REPLACE_CLOSEDIR=1
REPLACE_DUP=1
- gl_REPLACE_OPEN
- gl_REPLACE_CLOSE
- gl_REPLACE_DUP2
- dnl dup3 is already unconditionally replaced
- gl_REPLACE_FCNTL
AC_CACHE_CHECK([whether open can visit directories],
[gl_cv_func_open_directory_works],
[AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <fcntl.h>