rework config.m4
[m6w6/ext-psi] / config.psi_glob.m4
1 AC_DEFUN(PSI_CHECK_GLOB, [
2 AC_CHECK_HEADERS(glob.h)
3 PSI_STRUCT(glob_t, [
4 size_t gl_pathc,
5 int gl_matchc,
6 size_t gl_offs,
7 int gl_flags,
8 char **gl_pathv])
9 PSI_DECL(int, glob, [(char *path, int flags, void *err, glob_t *buf)])
10 PSI_DECL(void, globfree, [(glob_t *buf)])
11 PSI_CONST(GLOB_APPEND, int)
12 PSI_CONST(GLOB_BRACE, int)
13 PSI_CONST(GLOB_DOOFFS, int)
14 PSI_CONST(GLOB_ERR, int)
15 PSI_CONST(GLOB_MARK, int)
16 PSI_CONST(GLOB_NOCHECK, int)
17 PSI_CONST(GLOB_NOESCAPE, int)
18 PSI_CONST(GLOB_NOMAGIC, int)
19 PSI_CONST(GLOB_NOSORT, int)
20 PSI_CONST(GLOB_ONLYDIR, int)
21 PSI_CONST(GLOB_PERIOD, int)
22 PSI_CONST(GLOB_TILDE, int)
23 PSI_CONST(GLOB_TILDE_CHECK, int)
24 PSI_CONST(GLOB_ABORTED, int)
25 PSI_CONST(GLOB_NOMATCH, int)
26 PSI_CONST(GLOB_NOSPACE, int)
27 ])