(portability) link with -lm explicitly
We need to explicitly link with -lm since we actually call lroundf() and sin().
This commit is contained in:
parent
c25545951f
commit
d98d0d6387
|
@ -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
|
||||
|
||||
|
|
|
@ -30,6 +30,8 @@ AC_PROG_CC
|
|||
|
||||
# Configure dependency libs
|
||||
|
||||
AC_CHECK_LIB([m],[lroundf])
|
||||
|
||||
# fftw3f
|
||||
deps_packages+=" fftw3f"
|
||||
|
||||
|
|
Loading…
Reference in New Issue