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.tokkee.org/?a=commitdiff_plain;h=b224ec865a00af6f354d071c7da6aade387637b8;p=rrdtool-all.git check for round function as it is in -lm in solaris ... git-svn-id: svn://svn.oetiker.ch/rrdtool/trunk@2071 a5681a0c-68f1-0310-ab6d-d61299d08faa --- diff --git a/program/configure.ac b/program/configure.ac index 29be00ca..cfbeb1d1 100644 --- a/program/configure.ac +++ b/program/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