Changeset 18959
- Timestamp:
- Aug 8, 2008, 8:08:00 AM (18 years ago)
- File:
-
- 1 edited
-
trunk/psLib/configure.ac (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/psLib/configure.ac
r14418 r18959 189 189 LDFLAGS="${LDFLAGS} ${FFTW3_LDFLAGS}" 190 190 191 AC_CHECK_LIB(fftw3f,fftwf_plan_dft_2d,[], 192 [AC_MSG_ERROR([FFTW version 3 (--enable-float) library not found. Obtain it at http://www.fftw.org/ or use --with-fftw3 to specify location.])]) 193 194 FFTW_THREADS=0 195 AC_CHECK_LIB(fftw3f,fftwf_init_threads,[FFTW_THREADS=1], 196 [AC_CHECK_LIB(fftw3f_threads,fftwf_init_threads, [ 197 FFTW_THREADS=1 198 PSLIB_LIBS="${PSLIB_LIBS=} -lfftw3f_threads"], 199 AC_MSG_WARN([FFTW version 3 not compiled with thread support (--enable-threads)]) 200 )] 201 ) 202 203 dnl AC_CHECK_LIB(fftw3f,fftwf_plan_dft_2d,[], 204 dnl [AC_MSG_ERROR([FFTW version 3 (--enable-float) library not found. Obtain it at http://www.fftw.org/ or use --with-fftw3 to specify location.])],[-lm] 205 dnl ) 206 191 207 AC_CHECK_HEADERS([fftw3.h],[], 192 208 [AC_MSG_ERROR([FFTW version 3 (--enable-float) headers not found. Obtain it at http://www.fftw.org/ or use --with-fftw3 to specify location.])] 193 209 ) 194 AC_CHECK_LIB(fftw3f,fftwf_plan_dft_2d,[], 195 [AC_MSG_ERROR([FFTW version 3 (--enable-float) library not found. Obtain it at http://www.fftw.org/ or use --with-fftw3 to specify location.])],[-lm] 196 ) 210 211 AC_DEFINE_UNQUOTED([HAVE_FFTW_THREADS],${FFTW_THREADS},[Define to 1 if you have FFTW compiled with thread support]) 197 212 198 213 AC_SUBST([FFTW3_CFLAGS])
Note:
See TracChangeset
for help on using the changeset viewer.
