From 0b74aa8307516c05e7f8d99a7df12384dcabc53d Mon Sep 17 00:00:00 2001 From: compudj Date: Wed, 18 Aug 2004 23:52:36 +0000 Subject: [PATCH] add dependency for libm git-svn-id: http://ltt.polymtl.ca/svn@806 04897980-b3bd-0310-b5e0-8ef037075253 --- ltt/branches/poly/configure.in | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.34.1