diff options
author | Bruno Haible <bruno@clisp.org> | 2018-03-16 16:25:02 +0100 |
---|---|---|
committer | Bruno Haible <bruno@clisp.org> | 2018-03-16 16:25:02 +0100 |
commit | a96f69a534a91f5a97379e32aa62bacb84e65d82 (patch) | |
tree | f276cd150637f6f2ca92d7f22d27c73e74427466 /ChangeLog | |
parent | e9866b991d962bc77ed60f11f2dba08305f5d5a2 (diff) | |
download | gnulib-a96f69a534a91f5a97379e32aa62bacb84e65d82.tar.gz |
glob: Don't compile replacements on recent glibc systems.
* lib/glob.in.h: Use the usual idiom for the double-inclusion guard. If
REPLACE_GLOB is 0, include the system's <glob.h> and use
_GL_CXXALIAS_SYS.
* m4/glob.m4 (gl_GLOB): Set REPLACE_GLOB instead of GLOB_H. Accept
_GNU_GLOB_INTERFACE_VERSION 2 as well. Delete the file conf$$-globtest
inside the AC_RUN_IFELSE block. Remove GL_GENERATE_GLOB_H conditional.
* modules/glob (Dependencies): Test REPLACE_GLOB instead of GLOB_H.
Remove snippet/warn-on-use.
(configure.ac): Test REPLACE_GLOB instead of GLOB_H.
(Makefile.am): Create glob.h always. Update list of substitutions in
glob.h. Don't depend on $(WARN_ON_USE_H).
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
@@ -1,5 +1,20 @@ 2018-03-16 Bruno Haible <bruno@clisp.org> + glob: Don't compile replacements on recent glibc systems. + * lib/glob.in.h: Use the usual idiom for the double-inclusion guard. If + REPLACE_GLOB is 0, include the system's <glob.h> and use + _GL_CXXALIAS_SYS. + * m4/glob.m4 (gl_GLOB): Set REPLACE_GLOB instead of GLOB_H. Accept + _GNU_GLOB_INTERFACE_VERSION 2 as well. Delete the file conf$$-globtest + inside the AC_RUN_IFELSE block. Remove GL_GENERATE_GLOB_H conditional. + * modules/glob (Dependencies): Test REPLACE_GLOB instead of GLOB_H. + Remove snippet/warn-on-use. + (configure.ac): Test REPLACE_GLOB instead of GLOB_H. + (Makefile.am): Create glob.h always. Update list of substitutions in + glob.h. Don't depend on $(WARN_ON_USE_H). + +2018-03-16 Bruno Haible <bruno@clisp.org> + glob: Fix link error on native Windows. * modules/glob (Depends-on): Add 'lstat'. |