correctly add -lm for math lib
[lttv.git] / ltt / branches / poly / configure.in
index 2efed122d07522ef86f181fdc0cbff30377ba9a2..d54bc2dfa6978a272e3683dda38673dcdc51c7a9 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], M_LIBS="-lm",AC_MSG_ERROR([Mathematical libraries are missing.])  )
+
 
 # Checks for header files.
 AC_HEADER_STDC
This page took 0.022249 seconds and 4 git commands to generate.