sync with GNU gettext

2021-06-19 Thread Bruno Haible
Here are small changes, to be in sync with the changed build system of GNU gettext that makes more use of Gnulib now, thus reducing the need for IN_LIBINTL conditionals. 2021-06-19 Bruno Haible Sync with GNU gettext. * lib/tsearch.c: Ignore IN_LIBINTL. * lib/localename

improve conflict resolution between Gnulib and GNU gettext

2021-06-19 Thread Bruno Haible
When GNU libintl.h defines a *printf symbol and Gnulib's stdio.h does it as well, it is best that libintl.h avoids overriding Gnulib. To this effect, Gnulib needs to set a macro that tells that it has provided an override. Similarly for textstyle.h (from GNU libtextstyle). 2021-06-19 Bruno Haib

declared.sh: Allow parsing 'extern "C"' lines

2021-06-19 Thread Bruno Haible
The declared.sh file has a problem extracting the first 'extern ...' declaration within an 'extern "C" {' ... '}' block. The line concatenation step produces this intermediate result: - #if defined _WIN32 && ! defined __CYGWIN__

unitypes: Fix trouble caused by installed older versions of unitypes.h

2021-06-19 Thread Bruno Haible
When building code that using unistr.h, which depends on unitypes.h, on a machine that has an older libunistring installed, I get these compilation errors: "../gnulib-lib/unistr.h", line 377.38: 1506-275 (S) Unexpected text dest encountered. "../gnulib-lib/unistr.h", line 379.40: 1506-275 (S) Une

Re: new module 'sigsegv'

2021-06-19 Thread Bruno Haible
On 2021-05-16, I wrote: > The copyright is currently still mine with a few contributors (notably > Eric Blake and Paolo Bonzini). We have other files not copyrighted by the > FSF in Gnulib: atanl.c, filevercmp.c, logl.c. If you think the stuff should > better be (C) FSF, I have no problem assigning