cannam@167: cannam@167: cannam@167: dnl Process this file with autoconf to produce a configure script. cannam@167: cannam@167: dnl Define the fftw version number as M4 macros, so that we can enforce cannam@167: dnl the invariant that the minor version number in FFTW-X.Y.MINOR is the same cannam@167: dnl as the revision number in SHARED_VERSION_INFO. cannam@167: define(FFTW_MAJOR_VERSION, 3.3)dnl cannam@167: define(FFTW_MINOR_VERSION, 8)dnl cannam@167: cannam@167: dnl Version number of the FFTW source package. cannam@167: AC_INIT(fftw, FFTW_MAJOR_VERSION.FFTW_MINOR_VERSION, fftw@fftw.org) cannam@167: AC_CONFIG_SRCDIR(kernel/ifftw.h) cannam@167: cannam@167: dnl Version number for libtool shared libraries. Libtool wants a string cannam@167: dnl of the form CURRENT:REVISION:AGE. We adopt the convention that cannam@167: dnl REVISION is the same as the FFTW minor version number. cannam@167: dnl fftw-3.1.x was 4:x:1 cannam@167: dnl fftw-3.2.x was 5:x:2 cannam@167: dnl fftw-3.3.x was 6:x:3 for x < 4 cannam@167: dnl fftw-3.3.4 was 7:x:4 cannam@167: dnl fftw-3.3.5 was 8:x:5 (added planner hooks) cannam@167: dnl fftw-3.3.6 was 8:x:6 (8:x:6 is a bug, should have been 8:x:5. No API changes) cannam@167: dnl fftw-3.3.6.1 fixes the 8:x:6 screwup cannam@167: dnl fftw-3.3.7 was 8:x:5 (No API changes) cannam@167: dnl fftw-3.3.8 was 8:x:5 (No API changes) cannam@167: SHARED_VERSION_INFO="8:FFTW_MINOR_VERSION:5" # CURRENT:REVISION:AGE cannam@167: cannam@167: AM_INIT_AUTOMAKE(1.7) cannam@167: AM_CONFIG_HEADER(config.h) cannam@167: AC_CONFIG_MACRO_DIR([m4]) cannam@167: AM_MAINTAINER_MODE cannam@167: AC_SUBST(SHARED_VERSION_INFO) cannam@167: AC_DISABLE_SHARED dnl to hell with shared libraries cannam@167: AC_CANONICAL_HOST cannam@167: cannam@167: dnl configure options cannam@167: case "${host_cpu}" in cannam@167: powerpc*) arch_prefers_fma=yes;; cannam@167: ia64*) arch_prefers_fma=yes;; cannam@167: hppa*) arch_prefers_fma=yes;; cannam@167: mips64*) arch_prefers_fma=yes;; cannam@167: *) arch_prefers_fma=no;; cannam@167: esac cannam@167: cannam@167: AC_ARG_ENABLE(debug, [AC_HELP_STRING([--enable-debug],[compile fftw with extra runtime checks for debugging])], ok=$enableval, ok=no) cannam@167: if test "$ok" = "yes"; then cannam@167: AC_DEFINE(FFTW_DEBUG,1,[Define to enable extra FFTW debugging code.]) cannam@167: fi cannam@167: cannam@167: AC_ARG_ENABLE(doc, [AC_HELP_STRING([--disable-doc],[disable building the documentation])], build_doc=$enableval, build_doc=yes) cannam@167: AM_CONDITIONAL(BUILD_DOC, test x"$build_doc" = xyes) cannam@167: cannam@167: AC_ARG_ENABLE(random-estimator, [AC_HELP_STRING([--enable-random-estimator],[enable pseudorandom estimator (debugging hack)])], ok=$enableval, ok=no) cannam@167: if test "$ok" = "yes"; then cannam@167: AC_DEFINE(FFTW_RANDOM_ESTIMATOR,1,[Define to enable pseudorandom estimate planning for debugging.]) cannam@167: CHECK_PL_OPTS="--estimate" cannam@167: fi cannam@167: cannam@167: AC_ARG_ENABLE(alloca, [AC_HELP_STRING([--disable-alloca],[disable use of the alloca() function (may be broken on mingw64)])], ok=$enableval, ok=yes) cannam@167: if test "$ok" = "yes"; then cannam@167: AC_DEFINE(FFTW_ENABLE_ALLOCA,1,[Define to enable the use of alloca().]) cannam@167: fi cannam@167: cannam@167: AC_ARG_ENABLE(single, [AC_HELP_STRING([--enable-single],[compile fftw in single precision])], ok=$enableval, ok=no) cannam@167: AC_ARG_ENABLE(float, [AC_HELP_STRING([--enable-float],[synonym for --enable-single])], ok=$enableval) cannam@167: if test "$ok" = "yes"; then cannam@167: AC_DEFINE(FFTW_SINGLE,1,[Define to compile in single precision.]) cannam@167: AC_DEFINE(BENCHFFT_SINGLE,1,[Define to compile in single precision.]) cannam@167: PRECISION=s cannam@167: else cannam@167: PRECISION=d cannam@167: fi cannam@167: AM_CONDITIONAL(SINGLE, test "$ok" = "yes") cannam@167: cannam@167: AC_ARG_ENABLE(long-double, [AC_HELP_STRING([--enable-long-double],[compile fftw in long-double precision])], ok=$enableval, ok=no) cannam@167: if test "$ok" = "yes"; then cannam@167: if test "$PRECISION" = "s"; then cannam@167: AC_MSG_ERROR([--enable-single/--enable-long-double conflict]) cannam@167: fi cannam@167: AC_DEFINE(FFTW_LDOUBLE,1,[Define to compile in long-double precision.]) cannam@167: AC_DEFINE(BENCHFFT_LDOUBLE,1,[Define to compile in long-double precision.]) cannam@167: PRECISION=l cannam@167: fi cannam@167: AM_CONDITIONAL(LDOUBLE, test "$ok" = "yes") cannam@167: cannam@167: AC_ARG_ENABLE(quad-precision, [AC_HELP_STRING([--enable-quad-precision],[compile fftw in quadruple precision if available])], ok=$enableval, ok=no) cannam@167: if test "$ok" = "yes"; then cannam@167: if test "$PRECISION" != "d"; then cannam@167: AC_MSG_ERROR([conflicting precisions specified]) cannam@167: fi cannam@167: AC_DEFINE(FFTW_QUAD,1,[Define to compile in quad precision.]) cannam@167: AC_DEFINE(BENCHFFT_QUAD,1,[Define to compile in quad precision.]) cannam@167: PRECISION=q cannam@167: fi cannam@167: AM_CONDITIONAL(QUAD, test "$ok" = "yes") cannam@167: cannam@167: AC_SUBST(PRECISION) cannam@167: AC_SUBST(CHECK_PL_OPTS) cannam@167: cannam@167: dnl SSE/SSE2 theory: cannam@167: dnl cannam@167: dnl Historically, you had to supply --enable-sse in single precision and --enable-sse2 cannam@167: dnl in double precision. cannam@167: dnl cannam@167: dnl This behavior is pointless in 2016. --enable-sse2 now works in both precisions, cannam@167: dnl and is interpreted as --enable-sse in single precision. The old flag --enable--se cannam@167: dnl is still supported in single-precision only. cannam@167: AC_ARG_ENABLE(sse, [AC_HELP_STRING([--enable-sse],[enable SSE optimizations])], have_sse=$enableval, have_sse=no) cannam@167: if test "$have_sse" = "yes"; then cannam@167: if test "$PRECISION" != "s"; then cannam@167: AC_MSG_ERROR([SSE requires single precision]) cannam@167: fi cannam@167: fi cannam@167: cannam@167: AC_ARG_ENABLE(sse2, [AC_HELP_STRING([--enable-sse2],[enable SSE/SSE2 optimizations])], have_sse2=$enableval, have_sse2=no) cannam@167: if test "$have_sse" = "yes"; then have_sse2=yes; fi cannam@167: if test "$have_sse2" = "yes"; then cannam@167: AC_DEFINE(HAVE_SSE2,1,[Define to enable SSE/SSE2 optimizations.]) cannam@167: if test "$PRECISION" != "d" -a "$PRECISION" != "s"; then cannam@167: AC_MSG_ERROR([SSE2 requires single or double precision]) cannam@167: fi cannam@167: fi cannam@167: AM_CONDITIONAL(HAVE_SSE2, test "$have_sse2" = "yes") cannam@167: cannam@167: AC_ARG_ENABLE(avx, [AC_HELP_STRING([--enable-avx],[enable AVX optimizations])], have_avx=$enableval, have_avx=no) cannam@167: if test "$have_avx" = "yes"; then cannam@167: AC_DEFINE(HAVE_AVX,1,[Define to enable AVX optimizations.]) cannam@167: if test "$PRECISION" != "d" -a "$PRECISION" != "s"; then cannam@167: AC_MSG_ERROR([AVX requires single or double precision]) cannam@167: fi cannam@167: fi cannam@167: AM_CONDITIONAL(HAVE_AVX, test "$have_avx" = "yes") cannam@167: cannam@167: AC_ARG_ENABLE(avx2, [AC_HELP_STRING([--enable-avx2],[enable AVX2 optimizations])], have_avx2=$enableval, have_avx2=no) cannam@167: if test "$have_avx2" = "yes"; then cannam@167: AC_DEFINE(HAVE_AVX2,1,[Define to enable AVX2 optimizations.]) cannam@167: if test "$PRECISION" != "d" -a "$PRECISION" != "s"; then cannam@167: AC_MSG_ERROR([AVX2 requires single or double precision]) cannam@167: fi cannam@167: fi cannam@167: AM_CONDITIONAL(HAVE_AVX2, test "$have_avx2" = "yes") cannam@167: cannam@167: AC_ARG_ENABLE(avx512, [AC_HELP_STRING([--enable-avx512],[enable AVX512 optimizations])], have_avx512=$enableval, have_avx512=no) cannam@167: if test "$have_avx512" = "yes"; then cannam@167: AC_DEFINE(HAVE_AVX512,1,[Define to enable AVX512 optimizations.]) cannam@167: if test "$PRECISION" != "d" -a "$PRECISION" != "s"; then cannam@167: AC_MSG_ERROR([AVX512 requires single or double precision]) cannam@167: fi cannam@167: fi cannam@167: AM_CONDITIONAL(HAVE_AVX512, test "$have_avx512" = "yes") cannam@167: cannam@167: dnl 128-bit AVX is special. There is no reason to use it on Intel processors cannam@167: dnl since SSE2 is just as fast. However, on AMD processors we can both use cannam@167: dnl FMA4, and 128-bit SIMD is better than 256-bit since core pairs in a cannam@167: dnl compute unit can execute two 128-bit instructions independently. cannam@167: AC_ARG_ENABLE(avx-128-fma, [AC_HELP_STRING([--enable-avx-128-fma],[enable AVX128/FMA optimizations])], have_avx_128_fma=$enableval, have_avx_128_fma=no) cannam@167: if test "$have_avx_128_fma" = "yes"; then cannam@167: AC_DEFINE(HAVE_AVX_128_FMA,1,[Define to enable 128-bit FMA AVX optimization]) cannam@167: AVX_128_FMA_CFLAGS="${AVX_CFLAGS} -mfma4" cannam@167: AC_SUBST(AVX_128_FMA_CFLAGS) cannam@167: fi cannam@167: AM_CONDITIONAL(HAVE_AVX_128_FMA, test "$have_avx_128_fma" = "yes") cannam@167: cannam@167: AC_ARG_ENABLE(kcvi, [AC_HELP_STRING([--enable-kcvi],[enable Knights Corner vector instructions optimizations])], have_kcvi=$enableval, have_kcvi=no) cannam@167: if test "$have_kcvi" = "yes"; then cannam@167: AC_DEFINE(HAVE_KCVI,1,[Define to enable KCVI optimizations.]) cannam@167: if test "$PRECISION" != "d" -a "$PRECISION" != "s"; then cannam@167: AC_MSG_ERROR([Knights Corner vector instructions requires single or double precision]) cannam@167: fi cannam@167: fi cannam@167: AM_CONDITIONAL(HAVE_KCVI, test "$have_kcvi" = "yes") cannam@167: cannam@167: AC_ARG_ENABLE(altivec, [AC_HELP_STRING([--enable-altivec],[enable Altivec optimizations])], have_altivec=$enableval, have_altivec=no) cannam@167: if test "$have_altivec" = "yes"; then cannam@167: AC_DEFINE(HAVE_ALTIVEC,1,[Define to enable Altivec optimizations.]) cannam@167: if test "$PRECISION" != "s"; then cannam@167: AC_MSG_ERROR([Altivec requires single precision]) cannam@167: fi cannam@167: fi cannam@167: AM_CONDITIONAL(HAVE_ALTIVEC, test "$have_altivec" = "yes") cannam@167: cannam@167: AC_ARG_ENABLE(vsx, [AC_HELP_STRING([--enable-vsx],[enable IBM VSX optimizations])], have_vsx=$enableval, have_vsx=no) cannam@167: if test "$have_vsx" = "yes"; then cannam@167: AC_DEFINE(HAVE_VSX,1,[Define to enable IBM VSX optimizations.]) cannam@167: fi cannam@167: AM_CONDITIONAL(HAVE_VSX, test "$have_vsx" = "yes") cannam@167: cannam@167: AC_ARG_ENABLE(neon, [AC_HELP_STRING([--enable-neon],[enable ARM NEON optimizations])], have_neon=$enableval, have_neon=no) cannam@167: if test "$have_neon" = "yes"; then cannam@167: AC_DEFINE(HAVE_NEON,1,[Define to enable ARM NEON optimizations.]) cannam@167: case "${host_cpu}" in cannam@167: aarch64) cannam@167: ;; cannam@167: *) cannam@167: if test "$PRECISION" != "s"; then cannam@167: AC_MSG_ERROR([NEON requires single precision]) cannam@167: fi cannam@167: ;; cannam@167: esac cannam@167: fi cannam@167: AM_CONDITIONAL(HAVE_NEON, test "$have_neon" = "yes") cannam@167: cannam@167: AC_ARG_ENABLE(armv8-pmccntr-el0, [AC_HELP_STRING([--enable-armv8-pmccntr-el0],[enable the cycle counter on ARMv8 via the PMCCNTR_EL0 register (see README-perfcounters for details and mandatory instructions)])], have_armv8pmccntrel0=$enableval) cannam@167: if test "$have_armv8pmccntrel0"x = "yes"x; then cannam@167: AC_DEFINE(HAVE_ARMV8_PMCCNTR_EL0,1,[Define if you have enabled the PMCCNTR_EL0 cycle counter on ARMv8]) cannam@167: fi cannam@167: cannam@167: AC_ARG_ENABLE(armv8-cntvct-el0, [AC_HELP_STRING([--enable-armv8-cntvct-el0],[enable the cycle counter on ARMv8 via the CNTVCT_EL0 register (see README-perfcounters for details and mandatory instructions)])], have_armv8cntvctel0=$enableval) cannam@167: if test "$have_armv8cntvctel0"x = "yes"x; then cannam@167: AC_DEFINE(HAVE_ARMV8_CNTVCT_EL0,1,[Define if you have enabled the CNTVCT_EL0 cycle counter on ARMv8]) cannam@167: fi cannam@167: cannam@167: AC_ARG_ENABLE(armv7a-cntvct, [AC_HELP_STRING([--enable-armv7a-cntvct],[enable the cycle counter on Armv7a via the CNTVCT register (see README-perfcounters for details and mandatory instructions)])], have_armv7acntvct=$enableval) cannam@167: if test "$have_armv7acntvct"x = "yes"x; then cannam@167: AC_DEFINE(HAVE_ARMV7A_CNTVCT,1,[Define if you have enabled the CNTVCT cycle counter on ARMv7a]) cannam@167: fi cannam@167: cannam@167: AC_ARG_ENABLE(armv7a-pmccntr, [AC_HELP_STRING([--enable-armv7a-pmccntr],[enable the cycle counter on Armv7a via the PMCCNTR register (see README-perfcounters for details and mandatory instructions)])], have_armv7apmccntr=$enableval) cannam@167: if test "$have_armv7apmccntr"x = "yes"x; then cannam@167: AC_DEFINE(HAVE_ARMV7A_PMCCNTR,1,[Define if you have enabled the PMCCNTR cycle counter on ARMv7a]) cannam@167: fi cannam@167: cannam@167: AC_ARG_ENABLE(generic-simd128, [AC_HELP_STRING([--enable-generic-simd128],[enable generic (gcc) 128-bit SIMD optimizations])], have_generic_simd128=$enableval, have_generic_simd128=no) cannam@167: if test "$have_generic_simd128" = "yes"; then cannam@167: AC_DEFINE(HAVE_GENERIC_SIMD128,1,[Define to enable generic (gcc) 128-bit SIMD optimizations.]) cannam@167: fi cannam@167: AM_CONDITIONAL(HAVE_GENERIC_SIMD128, test "$have_generic_simd128" = "yes") cannam@167: cannam@167: AC_ARG_ENABLE(generic-simd256, [AC_HELP_STRING([--enable-generic-simd256],[enable generic (gcc) 256-bit SIMD optimizations])], have_generic_simd256=$enableval, have_generic_simd256=no) cannam@167: if test "$have_generic_simd256" = "yes"; then cannam@167: AC_DEFINE(HAVE_GENERIC_SIMD256,1,[Define to enable generic (gcc) 256-bit SIMD optimizations.]) cannam@167: fi cannam@167: AM_CONDITIONAL(HAVE_GENERIC_SIMD256, test "$have_generic_simd256" = "yes") cannam@167: cannam@167: cannam@167: dnl FIXME: cannam@167: dnl AC_ARG_ENABLE(mips-ps, [AC_HELP_STRING([--enable-mips-ps],[enable MIPS pair-single optimizations])], have_mips_ps=$enableval, have_mips_ps=no) cannam@167: dnl if test "$have_mips_ps" = "yes"; then cannam@167: dnl AC_DEFINE(HAVE_MIPS_PS,1,[Define to enable MIPS paired-single optimizations.]) cannam@167: dnl if test "$PRECISION" != "s"; then cannam@167: dnl AC_MSG_ERROR([MIPS paired-single requires single precision]) cannam@167: dnl fi cannam@167: dnl fi cannam@167: dnl AM_CONDITIONAL(HAVE_MIPS_PS, test "$have_mips_ps" = "yes") cannam@167: cannam@167: AC_ARG_WITH(slow-timer, [AC_HELP_STRING([--with-slow-timer],[use low-precision timers (SLOW)])], with_slow_timer=$withval, with_slow_timer=no) cannam@167: if test "$with_slow_timer" = "yes"; then cannam@167: AC_DEFINE(WITH_SLOW_TIMER,1,[Use low-precision timers, making planner very slow]) cannam@167: fi cannam@167: cannam@167: AC_ARG_ENABLE(mips_zbus_timer, [AC_HELP_STRING([--enable-mips-zbus-timer],[use MIPS ZBus cycle-counter])], have_mips_zbus_timer=$enableval, have_mips_zbus_timer=no) cannam@167: if test "$have_mips_zbus_timer" = "yes"; then cannam@167: AC_DEFINE(HAVE_MIPS_ZBUS_TIMER,1,[Define to enable use of MIPS ZBus cycle-counter.]) cannam@167: fi cannam@167: cannam@167: AC_ARG_WITH(our-malloc, [AC_HELP_STRING([--with-our-malloc],[use our aligned malloc (helpful for Win32)])], with_our_malloc=$withval, with_our_malloc=no) cannam@167: AC_ARG_WITH(our-malloc16, [AC_HELP_STRING([--with-our-malloc16],[Obsolete alias for --with-our-malloc16])], with_our_malloc=$withval) cannam@167: if test "$with_our_malloc" = "yes"; then cannam@167: AC_DEFINE(WITH_OUR_MALLOC,1,[Use our own aligned malloc routine; mainly helpful for Windows systems lacking aligned allocation system-library routines.]) cannam@167: fi cannam@167: cannam@167: AC_ARG_WITH(windows-f77-mangling, [AC_HELP_STRING([--with-windows-f77-mangling],[use common Win32 Fortran interface styles])], with_windows_f77_mangling=$withval, with_windows_f77_mangling=no) cannam@167: if test "$with_windows_f77_mangling" = "yes"; then cannam@167: AC_DEFINE(WINDOWS_F77_MANGLING,1,[Use common Windows Fortran mangling styles for the Fortran interfaces.]) cannam@167: fi cannam@167: cannam@167: AC_ARG_WITH(incoming-stack-boundary, [AC_HELP_STRING([--with-incoming-stack-boundary=X],[Assume that stack is aligned to (1<]) cannam@167: CC=$save_CC cannam@167: if test 0 = $ac_cv_sizeof_MPI_Fint; then cannam@167: AC_MSG_WARN([sizeof(MPI_Fint) test failed]); cannam@167: dnl As a backup, assume Fortran integer == C int cannam@167: AC_CHECK_SIZEOF(int) cannam@167: if test 0 = $ac_cv_sizeof_int; then AC_MSG_ERROR([sizeof(int) test failed]); fi cannam@167: ac_cv_sizeof_MPI_Fint=$ac_cv_sizeof_int cannam@167: fi cannam@167: C_MPI_FINT=C_INT`expr $ac_cv_sizeof_MPI_Fint \* 8`_T cannam@167: AC_SUBST(C_MPI_FINT) cannam@167: fi cannam@167: AM_CONDITIONAL(MPI, test "$enable_mpi" = "yes") cannam@167: cannam@167: dnl ----------------------------------------------------------------------- cannam@167: cannam@167: dnl determine CFLAGS first cannam@167: AX_CC_MAXOPT cannam@167: cannam@167: case "${ax_cv_c_compiler_vendor}" in cannam@167: intel) # Stop icc from defining __GNUC__, except on MacOS where this fails cannam@167: case "${host_os}" in cannam@167: *darwin*) ;; # icc -no-gcc fails to compile some system headers cannam@167: *) cannam@167: AX_CHECK_COMPILER_FLAGS([-no-gcc], [CC="$CC -no-gcc"]) cannam@167: ;; cannam@167: esac cannam@167: ;; cannam@167: cannam@167: hp) # must (sometimes) manually increase cpp limits to handle fftw3.h cannam@167: AX_CHECK_COMPILER_FLAGS([-Wp,-H128000], cannam@167: [CC="$CC -Wp,-H128000"]) cannam@167: ;; cannam@167: cannam@167: portland) # -Masmkeyword required for asm("") cycle counters cannam@167: AX_CHECK_COMPILER_FLAGS([-Masmkeyword], cannam@167: [CC="$CC -Masmkeyword"]) cannam@167: ;; cannam@167: esac cannam@167: cannam@167: dnl Determine SIMD CFLAGS at least for gcc and icc cannam@167: case "${ax_cv_c_compiler_vendor}" in cannam@167: gnu|intel) cannam@167: # SSE/SSE2 cannam@167: if test "$have_sse2" = "yes" -a "x$SSE2_CFLAGS" = x; then cannam@167: if test "$PRECISION" = d; then flag=msse2; else flag=msse; fi cannam@167: AX_CHECK_COMPILER_FLAGS(-$flag, [SSE2_CFLAGS="-$flag"], cannam@167: [AC_MSG_ERROR([Need a version of gcc with -$flag])]) cannam@167: fi cannam@167: cannam@167: # AVX cannam@167: if test "$have_avx" = "yes" -a "x$AVX_CFLAGS" = x; then cannam@167: AX_CHECK_COMPILER_FLAGS(-mavx, [AVX_CFLAGS="-mavx"], cannam@167: [AC_MSG_ERROR([Need a version of gcc with -mavx])]) cannam@167: fi cannam@167: cannam@167: # AVX2 cannam@167: # gcc-4.8 works with -march=core-avx2, but -mavx2 is not enough. cannam@167: # Later versions seem to happy with -mavx2, so try the arch one first. cannam@167: if test "$have_avx2" = "yes" -a "x$AVX2_CFLAGS" = x; then cannam@167: AX_CHECK_COMPILER_FLAGS(-march=core-avx2, [AVX2_CFLAGS="-march=core-avx2"], cannam@167: [AX_CHECK_COMPILER_FLAGS(-mavx2, [AVX2_CFLAGS="-mavx2"], cannam@167: [AC_MSG_ERROR([Need a version of gcc with either -march=core-avx2 or -mavx2])])]) cannam@167: AX_CHECK_COMPILER_FLAGS(-mfma, [AVX2_CFLAGS="$AVX2_CFLAGS -mfma"], cannam@167: [AC_MSG_WARN([Need a version of gcc with -mfma (harmless for icc)])]) cannam@167: fi cannam@167: cannam@167: # AVX512 cannam@167: if test "$have_avx512" = "yes" -a "x$AVX512_CFLAGS" = x; then cannam@167: AX_CHECK_COMPILER_FLAGS(-mavx512f, [AVX512_CFLAGS="-mavx512f"], cannam@167: [AC_MSG_ERROR([Need a version of gcc with -mavx512f])]) cannam@167: fi cannam@167: cannam@167: if test "$host_vendor" = "apple"; then cannam@167: # We need to tell gcc to use an external assembler to get AVX/AVX2 with gcc on OS X cannam@167: AX_CHECK_COMPILER_FLAGS([-Wa,-q], [CFLAGS="$CFLAGS -Wa,-q"]) cannam@167: # Disable the new compact unwinding format so we avoid warnings/potential errors. cannam@167: AX_CHECK_COMPILER_FLAGS([-Wl,-no_compact_unwind], [CFLAGS="$CFLAGS -Wl,-no_compact_unwind"]) cannam@167: fi cannam@167: cannam@167: # KCVI cannam@167: if test "$have_kcvi" = "yes" -a "x$KCVI_CFLAGS" = x; then cannam@167: AX_CHECK_COMPILER_FLAGS(-mmic, [KCVI_CFLAGS="-mmic"], cannam@167: [AC_MSG_ERROR([Need a version of icc with -mmic])]) cannam@167: fi cannam@167: cannam@167: if test "$have_altivec" = "yes" -a "x$ALTIVEC_CFLAGS" = x; then cannam@167: # -DFAKE__VEC__ is a workaround because gcc-3.3 does not cannam@167: # #define __VEC__ with -maltivec. cannam@167: AX_CHECK_COMPILER_FLAGS(-faltivec, [ALTIVEC_CFLAGS="-faltivec"], cannam@167: [AX_CHECK_COMPILER_FLAGS(-maltivec -mabi=altivec, cannam@167: [ALTIVEC_CFLAGS="-maltivec -mabi=altivec -DFAKE__VEC__"], cannam@167: [AX_CHECK_COMPILER_FLAGS(-fvec, [ALTIVEC_CFLAGS="-fvec"], cannam@167: [AC_MSG_ERROR([Need a version of gcc with -maltivec])])])]) cannam@167: fi cannam@167: cannam@167: case "${host_cpu}" in cannam@167: aarch64) cannam@167: ;; cannam@167: *) cannam@167: if test "$have_neon" = "yes" -a "x$NEON_CFLAGS" = x; then cannam@167: AX_CHECK_COMPILER_FLAGS(-mfpu=neon, [NEON_CFLAGS="-mfpu=neon"], cannam@167: [AC_MSG_ERROR([Need a version of gcc with -mfpu=neon])]) cannam@167: fi cannam@167: ;; cannam@167: esac cannam@167: cannam@167: if test "$have_vsx" = "yes" -a "x$VSX_CFLAGS" = x; then cannam@167: AX_CHECK_COMPILER_FLAGS(-mvsx, [VSX_CFLAGS="-mvsx"], cannam@167: [AC_MSG_ERROR([Need a version of gcc with -mvsx])]) cannam@167: fi cannam@167: cannam@167: dnl FIXME: cannam@167: dnl elif test "$have_mips_ps" = "yes"; then cannam@167: dnl # Just punt here and use only new 4.2 compiler :( cannam@167: dnl # Should add section for older compilers... cannam@167: dnl AX_CHECK_COMPILER_FLAGS(-mpaired-single, cannam@167: dnl [SIMD_CFLAGS="-mpaired-single"], cannam@167: dnl #[AC_MSG_ERROR([Need a version of gcc with -mpaired-single])]) cannam@167: dnl [AX_CHECK_COMPILER_FLAGS(-march=mips64, cannam@167: dnl [SIMD_CFLAGS="-march=mips64"], cannam@167: dnl [AC_MSG_ERROR( cannam@167: dnl [Need a version of gcc with -mpaired-single or -march=mips64]) cannam@167: dnl ])]) cannam@167: dnl fi cannam@167: ;; cannam@167: cannam@167: clang) cannam@167: cannam@167: if test "$have_avx" = "yes" -a "x$AVX_CFLAGS" = x; then cannam@167: AX_CHECK_COMPILER_FLAGS(-mavx, [AVX_CFLAGS="-mavx"], cannam@167: [AC_MSG_ERROR([Need a version of clang with -mavx])]) cannam@167: fi cannam@167: cannam@167: if test "$have_avx2" = "yes" -a "x$AVX2_CFLAGS" = x; then cannam@167: AX_CHECK_COMPILER_FLAGS(-mavx2, [AVX2_CFLAGS="-mavx2"], cannam@167: [AC_MSG_ERROR([Need a version of clang with -mavx2])]) cannam@167: AX_CHECK_COMPILER_FLAGS(-mfma, [AVX2_CFLAGS="$AVX2_CFLAGS -mfma"]) cannam@167: fi cannam@167: cannam@167: if test "$have_vsx" = "yes" -a "x$VSX_CFLAGS" = x; then cannam@167: # clang appears to need both -mvsx and -maltivec for VSX cannam@167: AX_CHECK_COMPILER_FLAGS(-maltivec, [VSX_CFLAGS="-maltivec"], cannam@167: [AC_MSG_ERROR([Need a version of gcc with -maltivec])]) cannam@167: AX_CHECK_COMPILER_FLAGS(-mvsx, [VSX_CFLAGS="-mvsx $VSX_CFLAGS"], cannam@167: [AC_MSG_ERROR([Need a version of gcc with -mvsx])]) cannam@167: fi cannam@167: ;; cannam@167: cannam@167: ibm) cannam@167: if test "$have_vsx" = "yes" -a "x$VSX_CFLAGS" = x; then cannam@167: # Note that IBM xlC uses -qaltivec for VSX too. cannam@167: AX_CHECK_COMPILER_FLAGS(-qaltivec, [VSX_CFLAGS="-qaltivec"], cannam@167: [AC_MSG_ERROR([Need a version of gcc with -qaltivec])]) cannam@167: fi cannam@167: ;; cannam@167: esac cannam@167: cannam@167: AC_SUBST(SSE2_CFLAGS) cannam@167: AC_SUBST(AVX_CFLAGS) cannam@167: AC_SUBST(AVX2_CFLAGS) cannam@167: AC_SUBST(AVX512_CFLAGS) cannam@167: AC_SUBST(KCVI_CFLAGS) cannam@167: AC_SUBST(ALTIVEC_CFLAGS) cannam@167: AC_SUBST(VSX_CFLAGS) cannam@167: AC_SUBST(NEON_CFLAGS) cannam@167: cannam@167: dnl add stack alignment CFLAGS if so requested cannam@167: if test "$with_incoming_stack_boundary"x != "no"x; then cannam@167: case "${ax_cv_c_compiler_vendor}" in cannam@167: gnu) cannam@167: tentative_flags="-mincoming-stack-boundary=$with_incoming_stack_boundary"; cannam@167: AX_CHECK_COMPILER_FLAGS($tentative_flags, cannam@167: [STACK_ALIGN_CFLAGS=$tentative_flags]) cannam@167: ;; cannam@167: esac cannam@167: fi cannam@167: AC_SUBST(STACK_ALIGN_CFLAGS) cannam@167: cannam@167: dnl Checks for header files. cannam@167: AC_HEADER_STDC cannam@167: AC_CHECK_HEADERS([fcntl.h fenv.h limits.h malloc.h stddef.h sys/time.h]) cannam@167: dnl c_asm.h: Header file for enabling asm() on Digital Unix cannam@167: dnl intrinsics.h: cray unicos cannam@167: dnl sys/sysctl.h: MacOS X altivec detection cannam@167: cannam@167: dnl altivec.h requires $ALTIVEC_CFLAGS (we use this for VSX too, which uses the same header) cannam@167: save_CFLAGS="$CFLAGS" cannam@167: save_CPPFLAGS="$CPPFLAGS" cannam@167: CFLAGS="$CFLAGS $ALTIVEC_CFLAGS $VSX_CFLAGS" cannam@167: CPPFLAGS="$CPPFLAGS $ALTIVEC_CFLAGS $VSX_CFLAGS" cannam@167: AC_CHECK_HEADERS([altivec.h]) cannam@167: CFLAGS="$save_CFLAGS" cannam@167: CPPFLAGS="$save_CPPFLAGS" cannam@167: cannam@167: dnl Checks for typedefs, structures, and compiler characteristics. cannam@167: AC_C_CONST cannam@167: AC_C_INLINE cannam@167: AC_TYPE_SIZE_T cannam@167: AC_TYPE_UINT32_T cannam@167: AC_TYPE_UINT64_T cannam@167: AC_HEADER_TIME cannam@167: AC_CHECK_TYPE([long double], cannam@167: [AC_DEFINE(HAVE_LONG_DOUBLE, 1, [Define to 1 if the compiler supports `long double'])], cannam@167: [ cannam@167: if test $PRECISION = l; then cannam@167: AC_MSG_ERROR([long double is not a supported type with your compiler.]) cannam@167: fi cannam@167: ]) cannam@167: AC_CHECK_TYPE([hrtime_t],[AC_DEFINE(HAVE_HRTIME_T, 1, [Define to 1 if hrtime_t is defined in ])],, cannam@167: [ cannam@167: #if HAVE_SYS_TIME_H cannam@167: #include cannam@167: #endif cannam@167: ]) cannam@167: cannam@167: AC_CHECK_SIZEOF(int) cannam@167: AC_CHECK_SIZEOF(unsigned int) cannam@167: AC_CHECK_SIZEOF(long) cannam@167: AC_CHECK_SIZEOF(unsigned long) cannam@167: AC_CHECK_SIZEOF(long long) cannam@167: AC_CHECK_SIZEOF(unsigned long long) cannam@167: AC_CHECK_SIZEOF(size_t) cannam@167: AC_CHECK_SIZEOF(ptrdiff_t) cannam@167: cannam@167: AC_CHECK_TYPES([ptrdiff_t]) cannam@167: AC_CHECK_TYPES(uintptr_t, [], [AC_CHECK_SIZEOF(void *)], [$ac_includes_default cannam@167: #ifdef HAVE_STDINT_H cannam@167: # include cannam@167: #endif]) cannam@167: cannam@167: AC_CHECK_SIZEOF(float) cannam@167: AC_CHECK_SIZEOF(double) cannam@167: cannam@167: dnl Check sizeof fftw_r2r_kind for Fortran interface [it has == sizeof(int) cannam@167: dnl for years, but being paranoid]. Note: the definition here must match cannam@167: dnl the one in api/fftw3.h! cannam@167: AC_CHECK_SIZEOF(fftw_r2r_kind, [], [typedef enum { cannam@167: FFTW_R2HC=0, FFTW_HC2R=1, FFTW_DHT=2, cannam@167: FFTW_REDFT00=3, FFTW_REDFT01=4, FFTW_REDFT10=5, FFTW_REDFT11=6, cannam@167: FFTW_RODFT00=7, FFTW_RODFT01=8, FFTW_RODFT10=9, FFTW_RODFT11=10 cannam@167: } fftw_r2r_kind;]) cannam@167: if test 0 = $ac_cv_sizeof_fftw_r2r_kind; then AC_MSG_ERROR([sizeof(fftw_r2r_kind) test failed]); fi cannam@167: C_FFTW_R2R_KIND=C_INT`expr $ac_cv_sizeof_fftw_r2r_kind \* 8`_T cannam@167: AC_SUBST(C_FFTW_R2R_KIND) cannam@167: cannam@167: dnl Checks for library functions. cannam@167: AC_FUNC_ALLOCA cannam@167: AC_FUNC_STRTOD cannam@167: AC_FUNC_VPRINTF cannam@167: AC_CHECK_LIB(m, sin) cannam@167: cannam@167: if test $PRECISION = q; then cannam@167: AX_GCC_VERSION(4,6,0,[],[AC_MSG_ERROR([gcc 4.6 or later required for quad precision support])]) cannam@167: AC_CHECK_LIB(quadmath, sinq, [], [AC_MSG_ERROR([quad precision requires libquadmath for quad-precision trigonometric routines])]) cannam@167: LIBQUADMATH=-lquadmath cannam@167: fi cannam@167: AC_SUBST(LIBQUADMATH) cannam@167: cannam@167: AC_CHECK_FUNCS([BSDgettimeofday gettimeofday gethrtime read_real_time time_base_to_time drand48 sqrt memset posix_memalign memalign _mm_malloc _mm_free clock_gettime mach_absolute_time sysctl abort sinl cosl snprintf memmove strchr getpagesize]) cannam@167: AC_CHECK_DECLS([sinl, cosl, sinq, cosq],,,[#include ]) cannam@167: AC_CHECK_DECLS([memalign],,,[ cannam@167: #ifdef HAVE_MALLOC_H cannam@167: #include cannam@167: #endif]) cannam@167: AC_CHECK_DECLS([drand48, srand48, posix_memalign]) dnl in stdlib.h cannam@167: cannam@167: dnl Cray UNICOS _rtc() (real-time clock) intrinsic cannam@167: AC_MSG_CHECKING([for _rtc intrinsic]) cannam@167: rtc_ok=yes cannam@167: AC_TRY_LINK([#ifdef HAVE_INTRINSICS_H cannam@167: #include cannam@167: #endif], [_rtc()], [AC_DEFINE(HAVE__RTC,1,[Define if you have the UNICOS _rtc() intrinsic.])], [rtc_ok=no]) cannam@167: AC_MSG_RESULT($rtc_ok) cannam@167: cannam@167: if test "$PRECISION" = "l"; then cannam@167: AC_CHECK_FUNCS([cosl sinl tanl], [], [AC_MSG_ERROR([long-double precision requires long-double trigonometric routines])]) cannam@167: fi cannam@167: cannam@167: AC_MSG_CHECKING([for isnan]) cannam@167: AC_TRY_LINK([#include cannam@167: ], if (!isnan(3.14159)) isnan(2.7183);, ok=yes, ok=no) cannam@167: if test "$ok" = "yes"; then cannam@167: AC_DEFINE(HAVE_ISNAN,1,[Define if the isnan() function/macro is available.]) cannam@167: fi cannam@167: AC_MSG_RESULT(${ok}) cannam@167: cannam@167: dnl TODO cannam@167: AX_GCC_ALIGNS_STACK() cannam@167: cannam@167: dnl override CFLAGS selection when debugging cannam@167: if test "${enable_debug}" = "yes"; then cannam@167: CFLAGS="-g" cannam@167: fi cannam@167: cannam@167: dnl add gcc warnings, in debug/maintainer mode only cannam@167: if test "$enable_debug" = yes || test "$USE_MAINTAINER_MODE" = yes; then cannam@167: if test "$ac_test_CFLAGS" != "set"; then cannam@167: if test $ac_cv_prog_gcc = yes; then cannam@167: CFLAGS="$CFLAGS -Wall -W -Wcast-qual -Wpointer-arith -Wcast-align -pedantic -Wno-long-long -Wshadow -Wbad-function-cast -Wwrite-strings -Wstrict-prototypes -Wredundant-decls -Wnested-externs" # -Wundef -Wconversion -Wmissing-prototypes -Wmissing-declarations cannam@167: fi cannam@167: fi cannam@167: fi cannam@167: cannam@167: dnl check for a proper indent in maintainer mode cannam@167: if test "$USE_MAINTAINER_MODE" = yes; then cannam@167: AC_PATH_PROG(INDENT, indent, indent) cannam@167: # if INDENT is set to 'indent' then we didn't find indent cannam@167: if test "$INDENT" != indent ; then cannam@167: AC_MSG_CHECKING(if $INDENT is GNU indent) cannam@167: if $INDENT --version 2>/dev/null | head -n 1|grep "GNU indent" > /dev/null ; then cannam@167: AC_MSG_RESULT(yes) cannam@167: INDENT="$INDENT -kr -cs -i5 -l800 -fca -nfc1 -sc -sob -cli4 -TR -Tplanner -TV" cannam@167: else cannam@167: AC_MSG_RESULT(no) cannam@167: AC_MSG_WARN($INDENT does not appear to be GNU indent.) cannam@167: fi cannam@167: else cannam@167: AC_MSG_WARN(no indent program found: codelets will be ugly) cannam@167: INDENT=cat cannam@167: fi cannam@167: fi cannam@167: cannam@167: dnl ----------------------------------------------------------------------- cannam@167: cannam@167: AC_ARG_ENABLE(fortran, [AC_HELP_STRING([--disable-fortran],[don't include Fortran-callable wrappers])], enable_fortran=$enableval, enable_fortran=yes) cannam@167: cannam@167: if test "$enable_fortran" = "yes"; then cannam@167: AC_PROG_F77 cannam@167: if test -z "$F77"; then cannam@167: enable_fortran=no cannam@167: AC_MSG_WARN([*** Couldn't find f77 compiler; using default Fortran wrappers.]) cannam@167: else cannam@167: AC_F77_DUMMY_MAIN([], [enable_fortran=no cannam@167: AC_MSG_WARN([*** Couldn't figure out how to link C and Fortran; using default Fortran wrappers.])]) cannam@167: fi cannam@167: else cannam@167: AC_DEFINE([DISABLE_FORTRAN], 1, [Define to disable Fortran wrappers.]) cannam@167: fi cannam@167: cannam@167: if test "x$enable_fortran" = xyes; then cannam@167: AC_F77_WRAPPERS cannam@167: AC_F77_FUNC(f77foo) cannam@167: AC_F77_FUNC(f77_foo) cannam@167: f77_foo2=`echo $f77foo | sed 's/77/77_/'` cannam@167: if test "$f77_foo" = "$f77_foo2"; then cannam@167: AC_DEFINE(F77_FUNC_EQUIV, 1, [Define if F77_FUNC and F77_FUNC_ are equivalent.]) cannam@167: cannam@167: # Include g77 wrappers by default for GNU systems or gfortran cannam@167: with_g77_wrappers=$ac_cv_f77_compiler_gnu cannam@167: case $host_os in *gnu*) with_g77_wrappers=yes ;; esac cannam@167: fi cannam@167: else cannam@167: with_g77_wrappers=no cannam@167: fi cannam@167: cannam@167: AC_ARG_WITH(g77-wrappers, [AC_HELP_STRING([--with-g77-wrappers],[force inclusion of g77-compatible wrappers in addition to any other Fortran compiler that is detected])], with_g77_wrappers=$withval) cannam@167: if test "x$with_g77_wrappers" = "xyes"; then cannam@167: AC_DEFINE(WITH_G77_WRAPPERS,1,[Include g77-compatible wrappers in addition to any other Fortran wrappers.]) cannam@167: fi cannam@167: cannam@167: dnl ----------------------------------------------------------------------- cannam@167: have_smp="no" cannam@167: AC_ARG_ENABLE(openmp, [AC_HELP_STRING([--enable-openmp],[use OpenMP directives for parallelism])], enable_openmp=$enableval, enable_openmp=no) cannam@167: cannam@167: if test "$enable_openmp" = "yes"; then cannam@167: AC_DEFINE(HAVE_OPENMP,1,[Define to enable OpenMP]) cannam@167: AX_OPENMP([], [AC_MSG_ERROR([don't know how to enable OpenMP])]) cannam@167: fi cannam@167: cannam@167: AC_ARG_ENABLE(threads, [AC_HELP_STRING([--enable-threads],[compile FFTW SMP threads library])], enable_threads=$enableval, enable_threads=no) cannam@167: cannam@167: if test "$enable_threads" = "yes"; then cannam@167: AC_DEFINE(HAVE_THREADS,1,[Define to enable SMP threads]) cannam@167: fi cannam@167: cannam@167: AC_ARG_WITH(combined-threads, [AC_HELP_STRING([--with-combined-threads],[combine threads into main libfftw3])], with_combined_threads=$withval, with_combined_threads=no) cannam@167: cannam@167: if test "$with_combined_threads" = yes; then cannam@167: if test "$enable_openmp" = "yes"; then cannam@167: AC_MSG_ERROR([--with-combined-threads incompatible with --enable-openmp]) cannam@167: fi cannam@167: if test "$enable_threads" != "yes"; then cannam@167: AC_MSG_ERROR([--with-combined-threads requires --enable-threads]) cannam@167: fi cannam@167: fi cannam@167: cannam@167: dnl Check for threads library... cannam@167: THREADLIBS="" cannam@167: if test "$enable_threads" = "yes"; then cannam@167: # Win32 threads are the default on Windows: cannam@167: if test -z "$THREADLIBS"; then cannam@167: AC_MSG_CHECKING([for Win32 threads]) cannam@167: AC_TRY_LINK([#include ], cannam@167: [_beginthreadex(0,0,0,0,0,0);], cannam@167: [THREADLIBS=" "; AC_MSG_RESULT(yes)], cannam@167: [AC_MSG_RESULT(no)]) cannam@167: fi cannam@167: cannam@167: # POSIX threads, the default choice everywhere else: cannam@167: if test -z "$THREADLIBS"; then cannam@167: ACX_PTHREAD([THREADLIBS="$PTHREAD_LIBS " cannam@167: CC="$PTHREAD_CC" cannam@167: AC_DEFINE(USING_POSIX_THREADS, 1, [Define if we have and are using POSIX threads.])]) cannam@167: fi cannam@167: cannam@167: if test -z "$THREADLIBS"; then cannam@167: AC_MSG_ERROR([couldn't find threads library for --enable-threads]) cannam@167: fi cannam@167: AC_DEFINE(HAVE_THREADS, 1, [Define if we have a threads library.]) cannam@167: fi cannam@167: AC_SUBST(THREADLIBS) cannam@167: AM_CONDITIONAL(THREADS, test "$enable_threads" = "yes") cannam@167: AM_CONDITIONAL(OPENMP, test "$enable_openmp" = "yes") cannam@167: AM_CONDITIONAL(SMP, test "$enable_threads" = "yes" -o "$enable_openmp" = "yes") cannam@167: AM_CONDITIONAL(COMBINED_THREADS, test x"$with_combined_threads" = xyes) cannam@167: cannam@167: dnl ----------------------------------------------------------------------- cannam@167: cannam@167: AC_MSG_CHECKING([whether a cycle counter is available]) cannam@167: save_CPPFLAGS=$CPPFLAGS cannam@167: CPPFLAGS="$CPPFLAGS -I$srcdir/kernel" cannam@167: AC_TRY_CPP([#include "cycle.h" cannam@167: #ifndef HAVE_TICK_COUNTER cannam@167: # error No cycle counter cannam@167: #endif], [ok=yes], [ok=no]) cannam@167: CPPFLAGS=$save_CPPFLAGS cannam@167: AC_MSG_RESULT($ok) cannam@167: if test $ok = no && test "x$with_slow_timer" = xno; then cannam@167: echo "***************************************************************" cannam@167: echo "WARNING: No cycle counter found. FFTW will use ESTIMATE mode " cannam@167: echo " for all plans. See the manual for more information." cannam@167: echo "***************************************************************" cannam@167: fi cannam@167: cannam@167: dnl ----------------------------------------------------------------------- cannam@167: cannam@167: AC_DEFINE_UNQUOTED(FFTW_CC, "$CC $CFLAGS", [C compiler name and flags]) cannam@167: cannam@167: AC_CONFIG_FILES([ cannam@167: Makefile cannam@167: support/Makefile cannam@167: genfft/Makefile cannam@167: kernel/Makefile cannam@167: simd-support/Makefile cannam@167: cannam@167: dft/Makefile cannam@167: dft/scalar/Makefile cannam@167: dft/scalar/codelets/Makefile cannam@167: dft/simd/Makefile cannam@167: dft/simd/common/Makefile cannam@167: dft/simd/sse2/Makefile cannam@167: dft/simd/avx/Makefile cannam@167: dft/simd/avx-128-fma/Makefile cannam@167: dft/simd/avx2/Makefile cannam@167: dft/simd/avx2-128/Makefile cannam@167: dft/simd/avx512/Makefile cannam@167: dft/simd/kcvi/Makefile cannam@167: dft/simd/altivec/Makefile cannam@167: dft/simd/vsx/Makefile cannam@167: dft/simd/neon/Makefile cannam@167: dft/simd/generic-simd128/Makefile cannam@167: dft/simd/generic-simd256/Makefile cannam@167: cannam@167: rdft/Makefile cannam@167: rdft/scalar/Makefile cannam@167: rdft/scalar/r2cf/Makefile cannam@167: rdft/scalar/r2cb/Makefile cannam@167: rdft/scalar/r2r/Makefile cannam@167: rdft/simd/Makefile cannam@167: rdft/simd/common/Makefile cannam@167: rdft/simd/sse2/Makefile cannam@167: rdft/simd/avx/Makefile cannam@167: rdft/simd/avx-128-fma/Makefile cannam@167: rdft/simd/avx2/Makefile cannam@167: rdft/simd/avx2-128/Makefile cannam@167: rdft/simd/avx512/Makefile cannam@167: rdft/simd/kcvi/Makefile cannam@167: rdft/simd/altivec/Makefile cannam@167: rdft/simd/vsx/Makefile cannam@167: rdft/simd/neon/Makefile cannam@167: rdft/simd/generic-simd128/Makefile cannam@167: rdft/simd/generic-simd256/Makefile cannam@167: cannam@167: reodft/Makefile cannam@167: cannam@167: threads/Makefile cannam@167: cannam@167: api/Makefile cannam@167: cannam@167: mpi/Makefile cannam@167: cannam@167: libbench2/Makefile cannam@167: tests/Makefile cannam@167: doc/Makefile cannam@167: doc/FAQ/Makefile cannam@167: cannam@167: tools/Makefile cannam@167: tools/fftw_wisdom.1 cannam@167: tools/fftw-wisdom-to-conf cannam@167: cannam@167: m4/Makefile cannam@167: cannam@167: fftw.pc cannam@167: ]) cannam@167: cannam@167: AC_OUTPUT