소스 검색

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

Samuel Thibault 13 년 전
부모
커밋
dd00cfd2fa
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  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                                  #