author | Florian Forster <octo@collectd.org> | |
Wed, 5 Sep 2012 06:43:18 +0000 (08:43 +0200) | ||
committer | Florian Forster <octo@collectd.org> | |
Wed, 5 Sep 2012 06:43:18 +0000 (08:43 +0200) | ||
commit | 1e648d412b43d95f5fa85ac08f094067d7984afd | |
tree | daf0bf4a5bb51dcbd92a08dc00624dbf43d14f26 | tree | snapshot |
parent | ee992f505a64e4da5637988c33783ef9a350ed29 | commit | diff |
src/Makefile.am: Unconditionally link collectd with libm.
Under FreeBSD, running src/utils_format_json.c fails because isfinite()
cannot be resolved. The GNU manpages for isnan() and isfinite() also
advise users to link with libm and AIX has had the library being linked
in for a while. Since it's such a basic library it seems easier to just
link with it unconditionally.
Fixes Github issue #122.
Under FreeBSD, running src/utils_format_json.c fails because isfinite()
cannot be resolved. The GNU manpages for isnan() and isfinite() also
advise users to link with libm and AIX has had the library being linked
in for a while. Since it's such a basic library it seems easier to just
link with it unconditionally.
Fixes Github issue #122.
src/Makefile.am | diff | blob | history |