From 8afd4d6a20b26c3554f404e8167bb804a7425431 Mon Sep 17 00:00:00 2001 From: oetiker Date: Mon, 26 Apr 2010 12:36:17 +0000 Subject: [PATCH] check for round function as it is in -lm in solaris ... git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk/program@2071 a5681a0c-68f1-0310-ab6d-d61299d08faa --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 29be00c..cfbeb1d 100644 --- a/configure.ac +++ b/configure.ac @@ -192,7 +192,8 @@ AC_STRUCT_TM CONFIGURE_PART(Test Library Functions) dnl Checks for libraries. -AC_CHECK_FUNC(acos, , AC_CHECK_LIB(m, acos)) +AC_CHECK_FUNC(acos, , AC_CHECK_LIB(m, acos)) +AC_CHECK_FUNC(round, , AC_CHECK_LIB(m, round)) dnl add pic flag in any case this makes sure all our code is relocatable -- 2.11.0