view modules/opendir @ 15738:8c84ffc4d210

Add dependencies to new dirent related modules. * modules/opendir (Depends-on): Add closedir. * modules/getcwd (Depends-on): Add opendir, closedir. * modules/dirent-safer-tests (Depends-on): Likewise. * modules/fdopendir-tests (Depends-on): Likewise. * modules/rename-tests (Depends-on): Add opendir, readdir, closedir. * modules/renameat-tests (Depends-on): Likewise.
author Bruno Haible <bruno@clisp.org>
date Thu, 22 Sep 2011 01:48:01 +0200
parents 802b8002c3f2
children 1f14c6dd175d
line wrap: on
line source

Description:
opendir() function: start reading the entries of a directory

Files:
lib/opendir.c
lib/dirent-private.h
m4/opendir.m4

Depends-on:
dirent
largefile
filename        [test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1]
unistd          [test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1]
closedir        [test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1]

configure.ac:
gl_FUNC_OPENDIR
if test $HAVE_OPENDIR = 0 || test $REPLACE_OPENDIR = 1; then
  AC_LIBOBJ([opendir])
fi
gl_DIRENT_MODULE_INDICATOR([opendir])

Makefile.am:

Include:
<dirent.h>

License:
LGPL

Maintainer:
Bruno Haible