On 19 June 2015 at 13:12, Gavin Smith <gavinsmith0...@gmail.com> wrote: > On 19 June 2015 at 07:48, Eli Zaretskii <e...@gnu.org> wrote: >> There was no wcwidth.h in texinfo-5.9.93's gnulib; now there is. So >> the arrangement of how that declaration is pulled in changed >> significantly since then. > > I downloaded the texinfo-5.9.94 pretest > (http://alpha.gnu.org/gnu/texinfo/), and it doesn't have wcwidth.h > either: the file is in the repository, but isn't being distributed.
According to gnulib's ChangeLog, wcwidth.h was removed in July 2007. It looks as if we have out-of-date files in the repository. 2007-07-07 Bruno Haible <br...@clisp.org> * lib/wchar_.h: Include the GL_LINK_WARNING macro. (wcwidth): New declaration. * m4/wchar.m4 (gl_WCHAR_MODULE_INDICATOR, gl_WCHAR_H_DEFAULTS): New macros. (gl_WCHAR_H): Require gl_WCHAR_H_DEFAULTS. Don't set WCHAR_H to empty here. Prepare for creating <wchar.h> unconditionally. * modules/wchar (Depends-on): Add link-warning. (Makefile.am): Substitute also GNULIB_WCWIDTH, HAVE_DECL_WCWIDTH, REPLACE_WCWIDTH, and GL_LINK_WARNING. * lib/wcwidth.h: Remove file. * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Require gl_WCHAR_H_DEFAULTS. Set HAVE_DECL_WCWIDTH, REPLACE_WCWIDTH, WCHAR_H. * modules/wcwidth (Files): Remove lib/wcwidth.h. (configure.ac): Invoke gl_WCHAR_MODULE_INDICATOR. (Include): Replace wcwidth.h with <wchar.h>. * lib/wcwidth.c: Include <wchar.h> instead of wcwidth.h. * lib/mbchar.h: Don't include wcwidth.h. * lib/mbswidth.c: Likewise. * NEWS: Mention the change. 2007-07-07 Bruno Haible <br...@clisp.org> * lib/wcwidth.c: New file, extracted from lib/wcwidth.h. * lib/wcwidth.h: Don't include wctype.h. Replace inline function definition with an external declaration. * m4/wcwidth.m4 (gl_FUNC_WCWIDTH): Use wcwidth.c when wcwidth is not defined as a function. Remove AC_C_INLINE requirement. * modules/wcwidth (Files): Add lib/wcwidth.c. (Makefile.am): Remove redundant statement.