On 2023-10-05 13:06, Bruno Haible wrote:
Hi Paul,
+ if test $gl_cv_func_isnand_no_libm = yes || test "$ISNAND_LIBM"; then
This doesn't look right:
* 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 $ISNAND_LIBM is -lm, it executes
test -lm
which is always invalid.
POSIX says it's valid. I don't know of any implementation where it
doesn't work. If there is one, Autoconf should document it.