summaryrefslogtreecommitdiff
path: root/modules/glob
blob: 4086a99e2158a25d6b42b16ccef26cf10bbaca91 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
Description:
glob() function: Search for files and directories with paths matching a
pattern, with GNU extensions.

Files:
lib/glob.in.h
lib/glob-libc.h
lib/glob.c
m4/glob.m4

Depends-on:
alloca
d-type
dirfd
extensions
fnmatch
getlogin_r
mempcpy
strdup
sys_stat
unistd
malloc-posix

configure.ac:
gl_GLOB

Makefile.am:
BUILT_SOURCES += $(GLOB_H)

# We need the following in order to create <glob.h> when the system
# doesn't have one that works with the given compiler.
glob.h: glob.in.h
	{ echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */'; \
	  sed -e 's|@''HAVE_SYS_CDEFS_H''@|$(HAVE_SYS_CDEFS_H)|g' \
	      < $(srcdir)/glob.in.h; \
	} > $@-t
	mv -f $@-t $@
MOSTLYCLEANFILES += glob.h glob.h-t

Include:
<glob.h>

License:
LGPLv2+

Maintainer:
all, glibc