add dependency for libm
authorcompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 18 Aug 2004 23:52:36 +0000 (23:52 +0000)
committercompudj <compudj@04897980-b3bd-0310-b5e0-8ef037075253>
Wed, 18 Aug 2004 23:52:36 +0000 (23:52 +0000)
git-svn-id: http://ltt.polymtl.ca/svn@806 04897980-b3bd-0310-b5e0-8ef037075253

ltt/branches/poly/configure.in

index 2efed122d07522ef86f181fdc0cbff30377ba9a2..bb4e2c88074fb4fd3b753a10024223f2b770da71 100644 (file)
@@ -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
This page took 0.023886 seconds and 4 git commands to generate.