force generation of substitute .h file when C++ support is enabled

2018-08-06 Thread Bruno Haible
A couple of .h substitute modules omit the .h file when the system header file is present and correct. But the GNULIB_NAMESPACE support is, of course, not present in the system header, therefore this leads to a compilation failure in a testdir that was built with --with-c++-tests (even on glibc sys

Re: sys_resource: relicense to LGPLv2+

2018-08-06 Thread Bruno Haible
> Yes, I agree to relicense my contribution to LGPL V2+. Thanks. License change done: 2018-08-06 Bruno Haible sys_resource: Relicense under LGPLv2+. John Malmberg's approval is in . * modules

add 'posixcheck' support to 'fnmatch'

2018-08-06 Thread Bruno Haible
In order to add 'posixcheck' support to the 'fnmatch' function, it is necessary to distinguish a module for the header and a module for the fnmatch() function. (Why? Because when 'posixcheck' is in use, we need the gnulib header to be present, and it shall emit the warn-on-use warning if and only

Re: sys_resource: relicense to LGPLv2+

2018-08-06 Thread John Malmberg
On 8/4/2018 8:38 AM, Bruno Haible wrote: Hi John, All Gnulib modules that provide a replacement for a POSIX header file are under LGPLv2+ license, except for 'sys_resource'. I'd like to make this consistent. The people who contributed to this module's lib/ file (lib/sys_resource.in.h) are you a

enable more C++ tests

2018-08-06 Thread Bruno Haible
The gnulib-tool option --with-c++-tests as a filter. That is, it does not add dependencies. Rather its absence filters out dependencies. So, a 'foo-c++-tests' module is ineffective if there is no dependency to it. 2018-08-06 Bruno Haible Enable more C++ tests. * modules/inttyp

getopt-posix, utime-h: fix Makefile dependencies

2018-08-06 Thread Bruno Haible
2018-08-06 Bruno Haible getopt-posix, utime-h: Ensure the .h file gets regenerated when needed. * modules/getopt-posix (Makefile.am): Add Makefile dependency for getopt.h. * modules/utime-h (Makefile.am): Add Makefile dependency for utime.h. diff --git a/modules