Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sci-libs/libcmatrix/files: 3.9.0-atlas.patch
Date: Wed, 31 Aug 2011 14:28:41
Message-Id: 20110831142827.6C95220051@flycatcher.gentoo.org
1 jlec 11/08/31 14:28:27
2
3 Added: 3.9.0-atlas.patch
4 Log:
5 Version bump
6
7 (Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 sci-libs/libcmatrix/files/3.9.0-atlas.patch
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/libcmatrix/files/3.9.0-atlas.patch?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-libs/libcmatrix/files/3.9.0-atlas.patch?rev=1.1&content-type=text/plain
14
15 Index: 3.9.0-atlas.patch
16 ===================================================================
17 configure-libraries.ac | 3 ++-
18 1 files changed, 2 insertions(+), 1 deletions(-)
19
20 diff --git a/configure-libraries.ac b/configure-libraries.ac
21 index 6e9579d..a919398 100755
22 --- a/configure-libraries.ac
23 +++ b/configure-libraries.ac
24 @@ -33,6 +33,7 @@ AC_ARG_WITH(atlas,
25 AS_HELP_STRING([--with-atlas],[use the ATLAS BLAS library (default-use if found)]),,with_atlas=check)
26 if test x$with_atlas != xno; then
27 FOUNDATLAS=yes
28 + PKG_CHECK_MODULES([ATLAS], [cblas])
29 AC_CHECK_HEADERS(cblas.h,,FOUNDATLAS=no
30 AC_MSG_WARN([ATLAS header files (cblas.h) not found
31 Is CPPFLAGS is defined to include relevant directory?]))
32 @@ -40,7 +41,7 @@ Is CPPFLAGS is defined to include relevant directory?]))
33 AC_MSG_WARN([ATLAS library (libatlas.a) not found
34 Is LDFLAGS is defined to include relevant directory?]))
35 if test x$FOUNDATLAS = xyes; then
36 - LIBS="-lcblas $LIBS"
37 + LIBS="$ATLAS_LIBS $LIBS"
38 CXXFLAGS="$CXXFLAGS -DLCM_USE_EXTERNAL"
39 else
40 if test x$with_atlas = xyes; then