diff options
author | Franz Zotter <fzotter@users.sourceforge.net> | 2012-06-05 09:32:22 +0000 |
---|---|---|
committer | Franz Zotter <fzotter@users.sourceforge.net> | 2012-06-05 09:32:22 +0000 |
commit | 585ca79e105c6e8ca57a2320c2335623a184ae06 (patch) | |
tree | fd29ff64612c19e2a0d49b939afb8938a430502b /src/configure.ac | |
parent | 13d043652ade404662f846f3861914cd5171847e (diff) |
improved check for fftw
svn path=/trunk/externals/iem/iemmatrix/; revision=16149
Diffstat (limited to 'src/configure.ac')
-rw-r--r-- | src/configure.ac | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/configure.ac b/src/configure.ac index 2a0a7be..5830de2 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -59,7 +59,11 @@ AC_CHECK_LIB(m, main) dnl Replace `main' with a function in -lpthread: dnl AC_CHECK_LIB(pthread, main) dnl Replace `main' with a function in -lfftw3: -AC_CHECK_LIB(fftw3, fftw_destroy_plan) +AC_CHECK_LIB([fftw3], + [fftw_execute], + [AC_CHECK_HEADER([fftw3.h], + [AC_DEFINE(USE_FFTW,1,[can we use fftw?])], + )]) dnl for soundfile reading (and writing, if we do that...) AC_CHECK_LIB(sndfile, sf_close) @@ -68,7 +72,7 @@ dnl for gnu scientific library -lgsl: dnl AC_CHECK_LIB([m], [cos]) AC_CHECK_LIB([gslcblas], [cblas_dgemm]) AC_CHECK_LIB([gsl], [gsl_blas_dgemm]) -AC_CHECK_LIB([gsl], [gsl_eigen_nonsymm],AC_DEFINE(HAVE_GSL_EIGEN_NONSYMM,1,[can gsl compute complex eigenvalues?])) +AC_CHECK_LIB([gsl], [gsl_eigen_nonsymm],[AC_DEFINE(HAVE_GSL_EIGEN_NONSYMM,1,[can gsl compute complex eigenvalues?])]) AC_CHECK_LIB([gsl], [gsl_sf_bessel_Jn],AC_DEFINE(HAVE_GSL_BESSEL,1,[can gsl compute Bessel functions?])) dnl for math.h Bessel/Neumann functions |