ext/nmatrix/math/gemm.h in nmatrix-0.0.9 vs ext/nmatrix/math/gemm.h in nmatrix-0.1.0.rc1

- old
+ new

@@ -7,12 +7,12 @@ // NMatrix was originally inspired by and derived from NArray, by // Masahiro Tanaka: http://narray.rubyforge.org // // == Copyright Information // -// SciRuby is Copyright (c) 2010 - 2013, Ruby Science Foundation -// NMatrix is Copyright (c) 2013, Ruby Science Foundation +// SciRuby is Copyright (c) 2010 - 2014, Ruby Science Foundation +// NMatrix is Copyright (c) 2012 - 2014, John Woods and the Ruby Science Foundation // // Please see LICENSE.txt for additional copyright notices. // // == Contributing // @@ -29,10 +29,14 @@ #ifndef GEMM_H # define GEMM_H extern "C" { // These need to be in an extern "C" block or you'll get all kinds of undefined symbol errors. +#if defined HAVE_CBLAS_H #include <cblas.h> +#elif defined HAVE_ATLAS_CBLAS_H + #include <atlas/cblas.h> +#endif } namespace nm { namespace math { /*