From a3d330bf749cdd64a61133b4624c5194d6295698 Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 7 Aug 2006 22:11:49 +0000 Subject: [PATCH] Re-generate from Guido's changes git-svn-id: https://svn.dealii.org/trunk@13618 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/configure | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/deal.II/configure b/deal.II/configure index e939418d02..97fea635a8 100755 --- a/deal.II/configure +++ b/deal.II/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 1.233 . +# From configure.in Revision: 13617 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.59 for deal.II 5.3.pre. # @@ -9924,7 +9924,7 @@ echo "${ECHO_T}" >&6 echo "$as_me:$LINENO: result: ----------------- configuring F77 compilers -----------------" >&5 echo "${ECHO_T}----------------- configuring F77 compilers -----------------" >&6 -for ac_prog in f77 g77 +for ac_prog in gfortran f77 g77 do # Extract the first word of "$ac_prog", so it can be a program name with args. set dummy $ac_prog; ac_word=$2 @@ -10121,7 +10121,22 @@ echo "${ECHO_T}F77 compiler is unkown. no flags set!" >&6 ;; esac - F77LIBS="$F77LIBS -lg2c" + case "$F77$" in + *gfortran* ) + F77LIBS="$F77LIBS -lgfortran" + ;; + *f77* ) + F77LIBS="$F77LIBS -lg2c" + ;; + *g77* ) + F77LIBS="$F77LIBS -lg2c" + ;; + * ) + { { echo "$as_me:$LINENO: error: Error in configure script, please report a bug" >&5 +echo "$as_me: error: Error in configure script, please report a bug" >&2;} + { (exit 1); exit 1; }; } + ;; + esac ;; -- 2.39.5