GCC 4.6.1 and GotoBLAS2

If you happen to run the newest Ubuntu 11.10 and trying to compile GotoBLAS2 with Gfortran it is likely to fail due to a tiny change in GCC's output.

GotoBLAS's makefile mechanism depends on testing the current compiler setup, and was not updated for the newest GCC release. The makefile calls GCC to get the linking setup (libraries and library paths) and parses the output with a perl script.

The important line with GCC 4.5.1 looks like this:
Driving: gfortran -m64 -v ftest2.f -lgfortran -lm -shared-libgcc
However with GCC 4.6.1 this is like:
Driving: gfortran -m64 -v ftest2.f -l gfortran -l m -shared-libgcc
Notice the two tiny spaces in -lgfortran and -lm! That makes the tests fail in GotoBLAS2.

The f_check perl script can be fixed very easily by inserting one line, as shown in this patch: http://pastebin.com/MGM3d3W0