fftw and intel iMacs
If you are trying to compile fftw3 on an intel iMac (or any Intel Core processor probably), you’ll need to pass to configure:
--with-gcc-arch=prescott
That will prevent compiler errors complaining about illegal i386 instructions.