numpy/numpy — pull request #281 by njsmith (2012-05-16 17:51:14+00:00)
Title: Fix numpy.distutils to find atlas BLAS on Ubuntu

As per discussion here:
http://mail.scipy.org/pipermail/numpy-discussion/2012-May/062363.html
numpy.distutils was failing to find BLAS on my Ubuntu 11.04 system.

The problem is that _check_libs looks for libraries in several
directories, and it turns out that the "atlas" library was found in
both /usr/lib64/atlas-base *and* in /usr/lib64, which confused
_check_libs into thinking that it couldn't be found at all.

With this fix, scipy now builds against numpy master for me.