浏览代码

We need CPUs enabled to use fftw

Samuel Thibault 13 年之前
父节点
当前提交
eacc375df4
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      configure.ac

+ 1 - 1
configure.ac

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