Sophie

Sophie

distrib > Fedora > 16 > i386 > by-pkgid > df8da82c6d3f26dc82e941cd54ddf429 > files > 4

R-RScaLAPACK-0.6.1-8.fc16.src.rpm

diff -up RScaLAPACK/RScaLAPACK/configure.in.blas RScaLAPACK/RScaLAPACK/configure.in
--- RScaLAPACK/RScaLAPACK/configure.in.blas	2010-01-14 17:32:16.811069287 -0500
+++ RScaLAPACK/RScaLAPACK/configure.in	2010-01-14 17:32:47.626211286 -0500
@@ -53,7 +53,7 @@ supply_scalapack=no
 MPI_LAM=no
 MPI_MPICH=no
 OMPI=no
-ATLAS_BLAS=yes
+ATLAS_BLAS=no
 
 AC_ARG_WITH(mpi,
 [  --with-mpi=/usr/local	     Location of MPI_HOME],
@@ -178,7 +178,10 @@ if test "${supply_blas}" = yes || test "
 			AC_MSG_ERROR(libf77blas.a not found)
 		fi
 	else
-		if test -f ${BLAS_LIB}/libblas.a; then
+		if test -f ${BLAS_LIB}/libblas.so; then
+			LIBS="-lblas ${LIBS}"
+
+		elif test -f ${BLAS_LIB}/libblas.a; then
 			LIBS="-lblas ${LIBS}"
 	
 		elif test -f ${SCALAPACK_LIB}/libblas.a; then