Hash :
490c345b
Author :
Date :
2018-08-07T10:43:06
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.
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
Description:
Enable warnings for determining which Gnulib modules to use,
for portability of POSIX functions.
Files:
m4/posixcheck.m4
Depends-on:
# All modules that depend on 'snippet/warn-on-use'.
arpa_inet
ctype
dirent
fcntl-h
fnmatch-h
glob-h
iconv-h
inttypes-incomplete
langinfo
locale
math
monetary
netdb
poll-h
pty
search
signal-h
spawn
stdio
stdlib
string
strings
sys_file
sys_ioctl
sys_resource
sys_select
sys_socket
sys_stat
sys_time
sys_times
sys_utsname
sys_wait
termios
time
unistd
utime-h
wchar
wctype-h
configure.ac:
gl_POSIXCHECK
Makefile.am:
Include:
License:
LGPLv2+
Maintainer:
Bruno Haible