Re: sort and -lm

2023-10-07 Thread Paul Eggert
On 2023-10-07 04:42, Pádraig Brady wrote: The auto linking is globally controlled with the --with-openssl cofigure option, but you could build sort (and md5sum) without that dependency with:   ./configure ac_cv_lib_crypto_MD5=no Thanks, I was thinking more along the lines that Bruno suggeste

Re: isnan: slightly simplify configuration

2023-10-07 Thread Paul Eggert
On 2023-10-07 02:42, Bruno Haible wrote: If we start to use 'test "$arg"' here and there, at some point someone will assume it's safe (because he doesn't remember the long rule), and then we're too close to having an actual bug. I guess it's OK for now, but when Solaris 10 stops being supporte

Re: sort and -lm

2023-10-07 Thread Bruno Haible
> > Why would that be a problem? The average run time of a 'sort' invocation > > is long enough that an additional link dependency to libm shouldn't matter. > > We've avoided -lm in the past, I think more to avoid the dependency. You could alternatively link with libm.a instead of -lm. This won'

tests: Refactor functions for quiet NaNs

2023-10-07 Thread Bruno Haible
This patch centralizes the code for producing quiet NaNs with given sign bit value. 2023-10-07 Bruno Haible tests: Refactor functions for quiet NaNs. * tests/qnan.h: New file, based on tests/totalorder.c. * tests/nan.h: Add double-inclusion guard. * tests/test-

[gnu.org #1981535] Possible typo in CSS for manuals

2023-10-07 Thread Therese Godefroy via RT
Hello Gnulib maintainers, I fixed this typo in manual.css: s/sans/sans-serif/ Best, Thérèse Le Sam 07 Oct 2023 04:40:48, roland.il...@gmx.de a écrit : > Hi, > > On https://www.gnu.org/software/bison/manual/bison.html, I noticed that > most of the text is written in a serif font, which looks a l

totalorder specification

2023-10-07 Thread Bruno Haible
There is a summarizing specification in the glibc manual: https://www.gnu.org/software/libc/manual/html_node/FP-Comparison-Functions.html The ISO C 23 standard § F.10.12.1 has a summary as well: 2 Description The totalorder functions determine whether the total order relationship, de

Re: sort and -lm

2023-10-07 Thread Pádraig Brady
On 07/10/2023 04:38, Paul Eggert wrote: On 2023-10-06 19:33, Bruno Haible wrote: Why would that be a problem? The average run time of a 'sort' invocation is long enough that an additional link dependency to libm shouldn't matter. We've avoided -lm in the past, I think more to avoid the depende

Re: [PATCH] totalorder, totalorderf, totalorderl: new modules

2023-10-07 Thread Bruno Haible
The gnulib CI failed today, with this error: depbase=`echo c-vsnprintf.o | sed 's|[^/]*$|.deps/&|;s|\.o$||'`;\ ccache gcc -DHAVE_CONFIG_H -DEXEEXT=\"\" -DEXEEXT=\"\" -DNO_XMALLOC -DEXEEXT=\"\" -I. -I.. -DGNULIB_STRICT_CHECKING=1 -fvisibility=hidden -g -O2 -MT c-vsnprintf.o -MD -MP -MF $depbase

Re: isnan: slightly simplify configuration

2023-10-07 Thread Bruno Haible
Paul Eggert wrote: > >* If $ISNAND_LIBM is empty, it executes > >test '' > > which is invalid in at least some version of 'test'. > > Which version would that be? If there is one, it doesn't conform to > POSIX and we should document it in the Autoconf manual. > > > >* If $I