Lucas C. Villa Real wrote: > On 8/30/07, Jonatan Liljedahl <[EMAIL PROTECTED]> wrote: >> The FFTW library is a little stupid, since it can be compiled with float >> (libfftw3f.a) or double (libfftw3f.a) precision, and also as static (.a) >> or shared (.so). The default is double and static, but some apps wants >> float, and I think I came across some app that wanted it shared but I'm >> not sure which one now... >> Anyhow, we need to be able to have both installed at the same time, so I >> suggest we call one FFTW and the other one FFTWf (with --enable-float >> config option). > > Can't we just tweak the configure file and let it ship/compile both by > default? Seems more reasonable to me.
That would be the best, but I don't know how to do that kind of tricks with autotools (which is, I guess, compiling same files with different DEFINES). I guess the easiest way to solve it is having two wrapper .c files, one for double and one for float precision, and in them do the define and include the real .c file, but this should be done by FFTW and not by us. But if you find a way to solve it by tweaking their autotools files, or perhaps with a hackish recipe, please go ahead. :) -- /Jonatan [ http://kymatica.com ] _______________________________________________ gobolinux-devel mailing list gobolinux-devel@lists.gobolinux.org http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel