add dependency for libm
[lttv.git] / 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.022629 seconds and 4 git commands to generate.