config_query_option FFTW_THREADS "Compile FFTW SMP threads library?" n \
                    "--enable-threads --with-combined-threads"         \
                    "--disable-threads --without-combined-threads"    &&

config_query FORTRAN "Compile in fortran bindings?" n &&
if [[ "${SMGL_COMPAT_ARCHS[1]}" == "ia32" ]]; then
  config_query_option FFTW_DOUBLEOPTS  "x86: enable SSE2 for doubles?" n --enable-sse2 --enable-sse2  &&
  config_query_option FFTW_FLOATOPTS "x86: enable SSE for floats?" n --enable-sse --disable-sse
fi &&
if [[ "${SMGL_COMPAT_ARCHS[1]}" == "ppc" ]]; then
  config_query_option FFTW_FLOATOPTS "ppc: enable AltiVec for floats?" n --enable-altivec --disable-altivec
fi
#config_query_option FFTW_OPTS "Enable opts for fused multiply-add (p.ex. ppc)?" n --enable-fma --disable-fma
