Browse Source

Build libstarpufft exactly when we have fftw or cufft with double support

Samuel Thibault 13 years ago
parent
commit
dd00cfd2fa
1 changed files with 2 additions and 1 deletions
  1. 2 1
      configure.ac

+ 2 - 1
configure.ac

@@ -1358,9 +1358,10 @@ PKG_CHECK_MODULES([FFTWL], [fftw3l], [
 ], [:])
 AM_CONDITIONAL(STARPU_HAVE_FFTWL, [test x$have_fftwl = xyes])
 
-if test x$have_fftw = xyes -a x$have_fftwf = xyes ; then
+if test \( x$have_fftw = xyes -a x$have_fftwf = xyes \) -o x$have_cufftdoublecomplex = xyes; then
    fft_support=yes
 fi
+AM_CONDITIONAL(BUILD_STARPUFFT, [test x$fft_support = xyes])
 
 ##########################################
 # hwloc                                  #