diff options
author | root <root@rshg054.dnsready.net> | 2013-10-25 02:08:36 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-10-25 02:08:36 -0700 |
commit | 5a3821aec094b38a412cf5e6997c08b6428d6f77 (patch) | |
tree | 80caf9e8d169d5c43d828ede599cb91fa065d8df /community/pd/enable-fftw3.patch | |
parent | 94ded0cb27161b972228cfef8ea2e6f60af0f2b2 (diff) |
Fri Oct 25 02:07:10 PDT 2013
Diffstat (limited to 'community/pd/enable-fftw3.patch')
-rw-r--r-- | community/pd/enable-fftw3.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/community/pd/enable-fftw3.patch b/community/pd/enable-fftw3.patch new file mode 100644 index 000000000..678e05862 --- /dev/null +++ b/community/pd/enable-fftw3.patch @@ -0,0 +1,19 @@ +diff -aur pd-0.45-3/configure.ac pd-0.45-3.fftw3/configure.ac +--- pd-0.45-3/configure.ac 2013-10-03 18:22:29.000000000 +0200 ++++ pd-0.45-3.fftw3/configure.ac 2013-10-24 02:14:09.555763309 +0200 +@@ -212,13 +212,13 @@ + AM_CONDITIONAL(PORTMIDI, test x$portmidi = xyes) + if test x$portmidi = xyes; then echo Using included portmidi; fi + +-dnl fftw v2 ++dnl fftw v3 + AC_ARG_ENABLE([fftw], + [AS_HELP_STRING([--enable-fftw], + [use FFTW package])], + [fftw=$enableval]) + if test x$fftw = xyes; then +- AC_CHECK_LIB(fftw, fftw_one, [LIBS="$LIBS -lfftw"], ++ AC_CHECK_LIB(fftw3f, fftwf_execute, [LIBS="$LIBS -lfftw3f"], + [AC_MSG_NOTICE([fftw package not found - using built-in FFT]); fftw=no]) + fi + AM_CONDITIONAL(FFTW, test x$fftw = xyes) |