From: Ruben Kerkhof Date: Sat, 23 Apr 2016 13:06:03 +0000 (+0200) Subject: rrdtool check: stop linking in libm X-Git-Tag: collectd-5.5.2~6^2~6 X-Git-Url: https://git.octo.it/?a=commitdiff_plain;h=519051c7c8673a782da7991331ce565bfb2c2200;p=collectd.git rrdtool check: stop linking in libm (cherry picked from commit 32c0ce39f786c56e9d13f3615253a7ae55b578e6) --- diff --git a/configure.ac b/configure.ac index 72eb3fdc..f4d7873f 100644 --- a/configure.ac +++ b/configure.ac @@ -3837,17 +3837,17 @@ then AC_CHECK_LIB(rrd_th, rrd_update_r, [with_librrd="yes" - librrd_ldflags="$librrd_ldflags -lrrd_th -lm" + librrd_ldflags="$librrd_ldflags -lrrd_th" ], [librrd_threadsafe="no" AC_CHECK_LIB(rrd, rrd_update, [with_librrd="yes" - librrd_ldflags="$librrd_ldflags -lrrd -lm" + librrd_ldflags="$librrd_ldflags -lrrd" ], - [with_librrd="no (symbol 'rrd_update' not found)"], - [-lm]) - ], - [-lm]) + [with_librrd="no (symbol 'rrd_update' not found)"] + ) + ] + ) if test "x$librrd_threadsafe" = "xyes" then