summaryrefslogtreecommitdiff
path: root/modules/regex
blob: e38479858f80b9f9e9aa358bec16363cf91bdfd2 (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
69
70
Description:
Regular expression matching.
This matches the current GNU C Library, so its interface differs from
the standalone GNU regex library which has long been decommissioned in
favor of the GNU C Library interface.

Files:
lib/regex.h
lib/regex.c
lib/regex_internal.c
lib/regex_internal.h
lib/regexec.c
lib/regcomp.c
m4/eealloc.m4
m4/regex.m4
m4/mbstate_t.m4

Depends-on:
c99
extensions
ssize_t
vararrays
attribute               [test $ac_use_included_regex = yes]
btowc                   [test $ac_use_included_regex = yes]
builtin-expect          [test $ac_use_included_regex = yes]
glibc-internal/dynarray [test $ac_use_included_regex = yes]
intprops                [test $ac_use_included_regex = yes]
iswctype                [test $ac_use_included_regex = yes]
langinfo                [test $ac_use_included_regex = yes]
libc-config             [test $ac_use_included_regex = yes]
lock                    [test $ac_use_included_regex = yes]
memcmp                  [test $ac_use_included_regex = yes]
memmove                 [test $ac_use_included_regex = yes]
mbrtowc                 [test $ac_use_included_regex = yes]
mbsinit                 [test $ac_use_included_regex = yes]
nl_langinfo             [test $ac_use_included_regex = yes]
stdbool                 [test $ac_use_included_regex = yes]
stdckdint               [test $ac_use_included_regex = yes]
stdint                  [test $ac_use_included_regex = yes]
verify                  [test $ac_use_included_regex = yes]
wchar                   [test $ac_use_included_regex = yes]
wcrtomb                 [test $ac_use_included_regex = yes]
wctype-h                [test $ac_use_included_regex = yes]
wctype                  [test $ac_use_included_regex = yes]

configure.ac:
gl_REGEX
gl_CONDITIONAL([GL_COND_OBJ_REGEX], [test $ac_use_included_regex = yes])
AM_COND_IF([GL_COND_OBJ_REGEX], [
  gl_PREREQ_REGEX
])

Makefile.am:
if GL_COND_OBJ_REGEX
lib_SOURCES += regex.c
endif

Include:
<regex.h>

Link:
$(MBRTOWC_LIB)
$(LIBTHREAD)
$(LTLIBINTL) when linking with libtool, $(LIBINTL) otherwise

License:
LGPLv2+

Maintainer:
all