From: wolf Date: Mon, 2 May 2005 16:32:08 +0000 (+0000) Subject: Don't include -lblas in LDFLAGS when building with petsc in static mode. The reason... X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ce3863bc106244e50c9a6383b1e2fd7e272c409;p=dealii-svn.git Don't include -lblas in LDFLAGS when building with petsc in static mode. The reason is that on my system, blas also requires g2c. git-svn-id: https://svn.dealii.org/trunk@10592 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/deal.II/aclocal.m4 b/deal.II/aclocal.m4 index 7e28ac9658..263acb55eb 100644 --- a/deal.II/aclocal.m4 +++ b/deal.II/aclocal.m4 @@ -4406,14 +4406,6 @@ AC_DEFUN(DEAL_II_CONFIGURE_PETSC, dnl dnl defining the string "DEAL_II_USE_PETSC" for the preprocessor. If dnl we don't have no PETSc, then it does not define this string. DEAL_II_DEFINE_DEAL_II_USE_PETSC=DEAL_II_USE_PETSC - - dnl If we are linking with static libraries, then we will have to add - dnl BLAS to the linker line for PETSc. Note that this is not necessary - dnl for shared libs, since they should already come with this reference - dnl built in. - if test "x$enableshared" = "xno" ; then - LDFLAGS="$LDFLAGS -lblas" - fi fi diff --git a/deal.II/configure b/deal.II/configure index 3e03c0384b..a2bd17e7c2 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.200 . +# From configure.in Revision: 1.201 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59. # @@ -9291,10 +9291,6 @@ cat >>confdefs.h <<\_ACEOF _ACEOF DEAL_II_DEFINE_DEAL_II_USE_PETSC=DEAL_II_USE_PETSC - - if test "x$enableshared" = "xno" ; then - LDFLAGS="$LDFLAGS -lblas" - fi fi