From c16d44300d87c3dbd7bfde9b9d1c8f1a503694a3 Mon Sep 17 00:00:00 2001 From: rbuj Date: Mon, 11 Mar 2019 21:35:52 +0100 Subject: Use rounded values instead of truncate them If the decimal value is from .1 to .5, round(arg) returns the integer value less than the argument. Otherwise, if the decimal value is from .6 to .9, it returns the integer value greater than the arg. --- configure.ac | 2 ++ 1 file changed, 2 insertions(+) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index 16be521f..6ace2144 100644 --- a/configure.ac +++ b/configure.ac @@ -29,6 +29,8 @@ m4_define([lt_version_info], [lt_current:lt_revision:lt_age]) AC_SUBST([LT_VERSION_INFO], [lt_version_info]) +AC_CHECK_LIB(m, round) + # Honor aclocal flags AC_SUBST(ACLOCAL_AMFLAGS, "\${ACLOCAL_FLAGS}") -- cgit v1.2.1