summaryrefslogtreecommitdiff
path: root/modules/glob
blob: a03834a619e770189236f0afb518d6951ee997cd (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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
Description:
glob() function: Search for files and directories with paths matching a
pattern, with GNU extensions.

Files:
lib/glob.c
lib/glob_internal.h
lib/glob_pattern_p.c
lib/globfree.c
m4/glob.m4

Depends-on:
glob-h
c99
largefile
alloca                        [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
builtin-expect                [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
closedir                      [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
d-type                        [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
dirfd                         [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
flexmember                    [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
fnmatch                       [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
fstatat                       [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
getlogin_r                    [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
libc-config                   [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
memchr                        [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
mempcpy                       [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
opendir                       [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
readdir                       [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
glibc-internal/scratch_buffer [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
stdbool                       [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
stdint                        [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
strdup                        [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
unistd                        [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]
malloc-posix                  [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1]

configure.ac:
gl_GLOB
dnl Because of gl_REPLACE_GLOB_H:
gl_CONDITIONAL_HEADER([glob.h])
gl_CONDITIONAL([GL_COND_OBJ_GLOB],
               [test $HAVE_GLOB = 0 || test $REPLACE_GLOB = 1])
AM_COND_IF([GL_COND_OBJ_GLOB], [
  gl_PREREQ_GLOB
])
gl_CONDITIONAL([GL_COND_OBJ_GLOB_PATTERN_P],
               [test $HAVE_GLOB_PATTERN_P = 0 || test $REPLACE_GLOB_PATTERN_P = 1])
gl_GLOB_MODULE_INDICATOR([glob])

Makefile.am:
if GL_COND_OBJ_GLOB
lib_SOURCES += glob.c globfree.c
endif
if GL_COND_OBJ_GLOB_PATTERN_P
lib_SOURCES += glob_pattern_p.c
endif

Include:
<glob.h>

Link:
$(MBRTOWC_LIB)

License:
GPL

Maintainer:
all, glibc