|
|
@ -23,7 +23,7 @@ |
|
|
|
# Optimization |
|
|
|
if [ $arch_machine = i686 -o $arch_machine = i586 -o $arch_machine = i486 -o $arch_machine = Intel -o $arch_machine = k6 -o $arch_machine = k7 ] ; then |
|
|
|
var_append confopt " " "--enable-i386-hacks" |
|
|
|
echo "Enable i386 hacks" |
|
|
|
echo_status "Enable i386 hacks" |
|
|
|
fi |
|
|
|
|
|
|
|
#if [ $ROCKCFG_DEFAULT_CC="gcc40" ]; then |
|
|
@ -32,5 +32,22 @@ if [ "${ROCKCFG_DEFAULT_CC}" == "gcc40" ]; then |
|
|
|
fi |
|
|
|
|
|
|
|
var_append confopt " " "--enable-threads" |
|
|
|
var_append confopt " " "--enable-float" |
|
|
|
|
|
|
|
fftw3_main() |
|
|
|
{ |
|
|
|
eval_config_command $( eval echo $confopt ) |
|
|
|
make; make install |
|
|
|
|
|
|
|
make distclean |
|
|
|
|
|
|
|
eval_config_command $( eval echo $confopt --enable-float ) |
|
|
|
make; make install |
|
|
|
|
|
|
|
make distclean |
|
|
|
|
|
|
|
eval_config_command $( eval echo $confopt --enable-long-double ) |
|
|
|
make; make install |
|
|
|
} |
|
|
|
|
|
|
|
custmain=fftw3_main |
|
|
|
|