From: compudj Date: Wed, 18 Aug 2004 23:52:36 +0000 (+0000) Subject: add dependency for libm X-Git-Tag: v0.12.20~2683 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=0b74aa8307516c05e7f8d99a7df12384dcabc53d;p=lttv.git add dependency for libm git-svn-id: http://ltt.polymtl.ca/svn@806 04897980-b3bd-0310-b5e0-8ef037075253 --- diff --git a/ltt/branches/poly/configure.in b/ltt/branches/poly/configure.in index 2efed122..bb4e2c88 100644 --- a/ltt/branches/poly/configure.in +++ b/ltt/branches/poly/configure.in @@ -36,6 +36,8 @@ AC_PROG_CC # Checks for libraries. AC_CHECK_LIB([popt], [poptGetNextOpt], POPT_LIBS="-lpopt",AC_MSG_ERROR([libpopt is required in order to compile LinuxTraceToolkit]) ) +AC_CHECK_LIB([m], [round], POPT_LIBS+=" -lm",AC_MSG_ERROR([Mathematical libraries are missing.]) ) + # Checks for header files. AC_HEADER_STDC