Open reddwarf69 opened 3 years ago
Would it be enough in your system to use -ljansson -lm
?
Yes, that would work. But if you don't want the patch because it adds complexity for a corner case I will probably just carry the patch locally instead of adding the "fake" direct libm dependency to everything using jansson.
Well, at least it would need to be ported to autoconf also
I am doing this as paid work and realistically I am not going to do it for autotools any time soon. There is really a need, though? With or without an autotools fix this fixes something for people using CMake. It's not like they generate the same stuff anyway:
Autoconf is all but dead (https://lists.gnu.org/archive/html/autoconf/2021-01/msg00049.html), requiring fixing the autotools build system when fixing the cmake build system is only going to stop people from providing cmake fixes.
I have a system where isnan is a macro redirecting to __isnan(), which is only defined in libm.