]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Patch to explicitly link to gfortran on weird Linux systems like OpenSuse
authoryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 17 Sep 2010 13:56:43 +0000 (13:56 +0000)
committeryoung <young@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 17 Sep 2010 13:56:43 +0000 (13:56 +0000)
git-svn-id: https://svn.dealii.org/trunk@22014 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/configure.in

index e68fcaca8e5033227886e1648aeca7893370f59d..5a1d5208b26ba5de02e537331a85c04da88f1329 100644 (file)
@@ -499,8 +499,12 @@ if test "x$with_trilinos" != "x" -a "x$with_trilinos" != "xno" ; then
   fi
 fi
 
-
-
+dnl Strangely some Linux boxes (noteably OpenSuse) need to
+dnl *explicitly* link with gfortran libraries. This is definately
+dnl needed for ARPACk interfaces to work correctly; so we do that here:
+if test "x$with_arpack" != "x" -a "x$with_arpack" != "xno" ; then
+   LDFLAGS="-lgfortran $LDFLAGS"
+fi
 
 
 dnl -------------------------------------------------------------
@@ -607,12 +611,13 @@ dnl -------------------------------------------------------------
 AC_MSG_RESULT()
 AC_MSG_RESULT(---------------- checking compiler flags --------------------)
 
-dnl Possibly add some flags is optimizations are requested
+dnl Possibly add some flags if optimizations are requested
 DEAL_II_CHECK_CPU_OPTIMIZATIONS
 
 dnl Last check: test whether CXXFLAGS and F77FLAGS are ok
 DEAL_II_CHECK_CXXFLAGS_CONSISTENCY
 DEAL_II_CHECK_F77FLAGS_CONSISTENCY
+DEAL_II_CHECK_PETSC_MPI_CONSISTENCY
 
 
 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.