src/Makefile.am: Unconditionally link collectd with libm.
authorFlorian Forster <octo@collectd.org>
Wed, 5 Sep 2012 06:43:18 +0000 (08:43 +0200)
committerFlorian Forster <octo@collectd.org>
Wed, 5 Sep 2012 06:43:18 +0000 (08:43 +0200)
commit1e648d412b43d95f5fa85ac08f094067d7984afd
treedaf0bf4a5bb51dcbd92a08dc00624dbf43d14f26
parentee992f505a64e4da5637988c33783ef9a350ed29
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.
src/Makefile.am