Changeset 729a3c0 for configure.ac
- Timestamp:
- Nov 17, 2011, 2:29:35 AM (12 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- cfaa3c4
- Parents:
- e298138
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
re298138 r729a3c0 174 174 dnl Check for fftw3 (required) 175 175 dnl if we compile in double precsion, default to fftw3, else fftw3f 176 177 AC_ARG_ENABLE(fftw3, 178 AC_HELP_STRING([--enable-fftw3],[compile with fftw3 [[default=auto]]]), 179 [with_fftw3=$enableval], 180 with_fftw3="yes") 181 176 182 if test "$with_double_precision" = "yes"; then 177 183 default_fftw3f="no" 178 184 else 179 default_fftw3f="yes" 180 fi 185 default_fftw3f=$with_fftw3 186 fi 187 181 188 AC_ARG_ENABLE(fftw3f, 182 189 AC_HELP_STRING([--enable-fftw3f],[compile with fftw3f [[default=auto]]]), 183 190 [with_fftw3f=$enableval], 184 191 [with_fftw3f=$default_fftw3f]) 192 193 # check if we have fftw3f 185 194 if test "$with_fftw3f" = "yes"; then 186 195 PKG_CHECK_MODULES(FFTWLIB, fftw3f >= 3.0.0, HAVE_FFTW3F=1, HAVE_FFTW3F=0) 187 196 else 188 PKG_CHECK_MODULES(FFTWLIB, fftw3 >= 3.0.0, HAVE_FFTW3=1) 189 fi 190 if test "${HAVE_FFTW3F}" = "0"; then 191 PKG_CHECK_MODULES(FFTWLIB, fftw3 >= 3.0.0, HAVE_FFTW3=1) 192 fi 197 # check if we have fftw3 198 if test "$with_fftw3" = "yes"; then 199 PKG_CHECK_MODULES(FFTWLIB, fftw3 >= 3.0.0, HAVE_FFTW3=1, HAVE_FFTW3=0) 200 fi 201 fi 202 193 203 if test "${HAVE_FFTW3}" = "1"; then 194 204 AC_DEFINE(HAVE_FFTW3,1,[Define to enable fftw3 support]) 195 205 fi 196 206 if test "${HAVE_FFTW3F}" = "1"; then 207 AC_DEFINE(HAVE_FFTW3,1,[Define to enable fftw3 support]) 197 208 AC_DEFINE(HAVE_FFTW3F,1,[Define to enable fftw3f support]) 198 209 fi … … 264 275 echo "Summary:" 265 276 if test "${HAVE_FFTW3F}" = "1"; then 266 echo "F ftw3: yes (using fftw3f)"277 echo "FFT: using fftw3f" 267 278 else 268 279 if test "${HAVE_FFTW3}" = "1"; then 269 echo "Fft w3: yes (not using fftw3f)"270 else 271 echo "Fft w3: no (that should not happen)"280 echo "Fft: using fftw3" 281 else 282 echo "Fft: using ooura" 272 283 fi 273 284 fi
Note: See TracChangeset
for help on using the changeset viewer.