X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=configure.ac;h=32b4d350e55e72cb16b26d7c601503cd261e3f03;hb=32c0ce39f786c56e9d13f3615253a7ae55b578e6;hp=fc2c6aa3c5d361397cc0426e37e0156f8795a53a;hpb=f7e09269879b74e61324de9178503221b2df9136;p=collectd.git diff --git a/configure.ac b/configure.ac index fc2c6aa3..32b4d350 100644 --- a/configure.ac +++ b/configure.ac @@ -4119,17 +4119,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