(portability) link with -lm explicitly

We need to explicitly link with -lm since we actually call lroundf() and sin().
This commit is contained in:
Kamal Mostafa 2013-03-21 13:04:35 -07:00
parent c25545951f
commit d98d0d6387
2 changed files with 5 additions and 0 deletions

View File

@ -1,5 +1,8 @@
/* config.h.in. Generated from configure.ac by autoheader. */
/* Define to 1 if you have the `m' library (-lm). */
#undef HAVE_LIBM
/* Name of package */
#undef PACKAGE

View File

@ -30,6 +30,8 @@ AC_PROG_CC
# Configure dependency libs
AC_CHECK_LIB([m],[lroundf])
# fftw3f
deps_packages+=" fftw3f"