]> Savannah Git Hosting - gnulib.git/commit
glob: Don't compile replacements on recent glibc systems.
authorBruno Haible <bruno@clisp.org>
Fri, 16 Mar 2018 15:25:02 +0000 (16:25 +0100)
committerBruno Haible <bruno@clisp.org>
Fri, 16 Mar 2018 15:25:02 +0000 (16:25 +0100)
commita96f69a534a91f5a97379e32aa62bacb84e65d82
treef276cd150637f6f2ca92d7f22d27c73e74427466
parente9866b991d962bc77ed60f11f2dba08305f5d5a2
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).
ChangeLog
lib/glob.in.h
m4/glob.m4
modules/glob