Description:
Traverse a file hierarchy.

Files:
lib/fts.in.h
lib/fts.c
lib/fts-cycle.c
m4/fts.m4
m4/sys_cdefs_h.m4

Depends-on:
gen-header
alignasof
attribute
c99
calloc-posix
close
closedir
cycle-check
d-ino
d-type
dirfd
fchdir
fcntl
fcntl-h
fcntl-safer
flexmember
free-posix
fstat
fstatat
hash
i-ring
malloc-posix
memmove
openat
openat-h
opendirat
readdir
realloc-posix
bool
stddef-h
stdint-h

configure.ac:
gl_FUNC_FTS
dnl Use this version of fts unconditionally, since the GNU libc and
dnl NetBSD versions have bugs and/or unnecessary limitations.
gl_CONDITIONAL([GL_COND_OBJ_FTS], [true])

Makefile.am:
BUILT_SOURCES += fts_.h
if GL_COND_OBJ_FTS
lib_SOURCES += fts.c
endif

fts_.h: fts.in.h
@NMD@	$(AM_V_GEN)$(MKDIR_P) '%reldir%'
	$(gl_V_at)$(SED_HEADER_STDOUT) \
	      -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \
	      $(srcdir)/fts.in.h > $@-t
	$(AM_V_at)mv $@-t $@
MOSTLYCLEANFILES += fts_.h fts_.h-t

Include:
"fts_.h"

License:
GPL

Maintainer:
Jim Meyering
