From: oetiker Date: Mon, 26 Apr 2010 12:36:17 +0000 (+0000) Subject: check for round function as it is in -lm in solaris ... X-Git-Url: https://git.verplant.org/?a=commitdiff_plain;h=8afd4d6a20b26c3554f404e8167bb804a7425431;p=rrdtool.git 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 --- 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