ext/nmatrix/math/inc.h in nmatrix-0.0.9 vs ext/nmatrix/math/inc.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,13 +29,19 @@
#ifndef INC_H
# define INC_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
- #ifdef HAVE_CLAPACK_H
- #include <clapack.h>
- #endif
+#if defined HAVE_CLAPACK_H
+ #include <clapack.h>
+#elif defined HAVE_ATLAS_CLAPACK_H
+ #include <atlas/clapack.h>
+#endif
}
-#endif // INC_H
\ No newline at end of file
+#endif // INC_H