summaryrefslogtreecommitdiff
path: root/tests/test-glob-h.c
diff options
context:
space:
mode:
authorBruno Haible <bruno@clisp.org>2018-08-07 10:43:06 +0200
committerBruno Haible <bruno@clisp.org>2018-08-07 10:43:06 +0200
commit490c345b1425350e8749a00ec9566d29521d92db (patch)
tree17d309c5ba8bde963659fcbf733ef2cfc5e66594 /tests/test-glob-h.c
parent00ce4c600ff2dab879eb25c066e933d457bea64b (diff)
downloadgnulib-490c345b1425350e8749a00ec9566d29521d92db.tar.gz
glob-h: New module.
* lib/glob.in.h: Use nearly the usual gnulib idioms for header file replacements. * lib/glob.c: Include <config.h>. * m4/glob_h.m4: New file. * m4/glob.m4 (gl_GLOB): Require gl_GLOB_H. Remove code that is moved to glob_h.m4. Set HAVE_GLOB, REPLACE_GLOB, HAVE_GLOB_PATTERN_P, REPLACE_GLOB_PATTERN_P as appropriate. (gl_PREREQ_GLOB): Don't require AC_C_RESTRICT and AC_USE_SYSTEM_EXTENSIONS, now done through module 'glob-h'. * modules/glob-h: New file. * modules/glob (Files): Remove lib/glob.in.h, lib/glob-libc.h. (Dependencies): Add glob-h. Remove extensions, snippet/*, libc-config, lstat, sys_stat. Change conditions. (configure.ac): Test HAVE_GLOB, REPLACE_GLOB, HAVE_GLOB_PATTERN_P, REPLACE_GLOB_PATTERN_P. Set module indicator. (Makefile.am): Remove code that is moved to glob-h. * doc/posix-headers/glob.texi: Mention the 'glob-h' module. * modules/posixcheck (Depends-on): Add glob-h.
Diffstat (limited to 'tests/test-glob-h.c')
0 files changed, 0 insertions, 0 deletions