Okay, sorry. I don't get it. I see what you mean, but I can't get it to find the function. I'm probably not specifying the arguments correctly. I've gotten through many of the errors, but not all.

    checking for clapack_dgetrf(const enum CBLAS_ORDER Order, const int M, const int N, double *A, const int lda, int *ipiv) in cblas.h,clapack.h... no

I'm basically just copying the function directly from my `clapack.h` header file. I've tried a bunch of other stuff, though, like specifying literals for the `int`s and pointers to literals for the `double *`s.

Anyway, does this find the function for anyone? https://github.com/SciRuby/nmatrix/issues/209#issuecomment-39878303 even mentions that those two lines say "no" each time they're run for @mohawkjohn. Is the HAVE_ macro used in the source code at all?

Makes sense to me to revert these lines, for now, unless you can get it to work.