Re: [PATCH 1/2] m4/getloadavg.m4: restrict AIX specific test on AIX

2020-02-24 Thread Bruno Haible
Jens Rehsack wrote: > When cross compiling for a system without getloadavg, do not try add > additional linker paths unless it's absolutely necessary. > > Signed-off-by: Jens Rehsack > --- > m4/getloadavg.m4 | 3 +++ > 1 file changed, 3 insertions(+) > > diff --git a/m4/getloadavg.m4 b/m4/getlo

Re: [PATCH 2/2] modules: fcntl: allow being detected by importing projects

2020-02-24 Thread Bruno Haible
Jens Rehsack wrote: > battle of compatibility layers. Yes, we need C preprocessor macros to avoid conflicts between compatibility layers. It's preferable to have this witness macro defined through the .h file. 2020-02-24 Bruno Haible fcntl: Add witness of gnulib override. Re

Re: restrict - summary

2020-02-24 Thread Eric Blake
On 2/22/20 4:51 PM, Bruno Haible wrote: Here comes the first part: the 'restrict' in the POSIX function declarations. Note that the POSIX declarations of posix_spawn and posix_spawnp [1] are incorrect: They lack a 'restrict' for the file_actions argument. [1] https://pubs.opengroup.org/onlinepu

[PATCH 2/2] modules: fcntl: allow being detected by importing projects

2020-02-24 Thread Jens Rehsack
GNU project `make` relies on gnulib but provides some own compatibility functions - including an `fcntl`, which fails on mingw. The intension of gnulib is providing these functions and being wider tested, but silently injecting a function opens battle of compatibility layers. So adding a hint into

[PATCH 1/2] m4/getloadavg.m4: restrict AIX specific test on AIX

2020-02-24 Thread Jens Rehsack
When cross compiling for a system without getloadavg, do not try add additional linker paths unless it's absolutely necessary. Signed-off-by: Jens Rehsack --- m4/getloadavg.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/m4/getloadavg.m4 b/m4/getloadavg.m4 index 3bd2a142e..696c5de90 10

Re: users.txt: add datamash, time

2020-02-24 Thread Bruno Haible
Thanks, applied.