Commits

Volker Braun  committed 77a4503

code cleanup

  • Participants
  • Parent commits 1a6444e

Comments (0)

Files changed (13)

 
 SUBDIRS = src $(DOC_SUBDIR)
 
-EXTRA_DIST=scripts/*sh scripts/*py test/Makefile* test/*c
+EXTRA_DIST = scripts
 
 ACLOCAL_AMFLAGS = -I m4
 
 ECHO_T = @ECHO_T@
 EGREP = @EGREP@
 EXEEXT = @EXEEXT@
+FC = @FC@
+FCFLAGS = @FCFLAGS@
 GREP = @GREP@
 INSTALL = @INSTALL@
 INSTALL_DATA = @INSTALL_DATA@
 abs_top_srcdir = @abs_top_srcdir@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
+ac_ct_FC = @ac_ct_FC@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@
 top_srcdir = @top_srcdir@
 @WANT_DOC_TRUE@DOC_SUBDIR = doc
 SUBDIRS = src $(DOC_SUBDIR)
-EXTRA_DIST = scripts/*sh scripts/*py test/Makefile* test/*c
+EXTRA_DIST = scripts
 ACLOCAL_AMFLAGS = -I m4
 all: all-recursive
 

File autom4te.cache/output.0

 GREP
 CPP
 LN_S
+ac_ct_FC
+FCFLAGS
+FC
 am__fastdepCXX_FALSE
 am__fastdepCXX_TRUE
 CXXDEPMODE
 CXX
 CXXFLAGS
 CCC
+FC
+FCFLAGS
 CPP'
 
 
               you have headers in a nonstandard directory <include dir>
   CXX         C++ compiler command
   CXXFLAGS    C++ compiler flags
+  FC          Fortran compiler command
+  FCFLAGS     Fortran compiler flags
   CPP         C preprocessor
 
 Use these variables to override the choices made by `configure' or to help
 
 } @%:@ ac_fn_cxx_try_compile
 
+@%:@ ac_fn_fc_try_compile LINENO
+@%:@ ---------------------------
+@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
+ac_fn_fc_try_compile ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  rm -f conftest.$ac_objext
+  if { { ac_try="$ac_compile"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_compile") 2>conftest.err
+  ac_status=$?
+  if test -s conftest.err; then
+    grep -v '^ *+' conftest.err >conftest.er1
+    cat conftest.er1 >&5
+    mv -f conftest.er1 conftest.err
+  fi
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; } && {
+	 test -z "$ac_fc_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then :
+  ac_retval=0
+else
+  $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+	ac_retval=1
+fi
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_fc_try_compile
+
 @%:@ ac_fn_c_try_cpp LINENO
 @%:@ ----------------------
 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
 fi
 
 
+ac_ext=${ac_fc_srcext-f}
+ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
+ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_fc_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+  for ac_prog in gfortran
+  do
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_FC+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$FC"; then
+  ac_cv_prog_FC="$FC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+FC=$ac_cv_prog_FC
+if test -n "$FC"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
+$as_echo "$FC" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+    test -n "$FC" && break
+  done
+fi
+if test -z "$FC"; then
+  ac_ct_FC=$FC
+  for ac_prog in gfortran
+do
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_FC+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$ac_ct_FC"; then
+  ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_ac_ct_FC="$ac_prog"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_FC=$ac_cv_prog_ac_ct_FC
+if test -n "$ac_ct_FC"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
+$as_echo "$ac_ct_FC" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+  test -n "$ac_ct_FC" && break
+done
+
+  if test "x$ac_ct_FC" = x; then
+    FC=""
+  else
+    case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+    FC=$ac_ct_FC
+  fi
+fi
+
+
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+  { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+  ac_status=$?
+  if test -s conftest.err; then
+    sed '10a\
+... rest of stderr output deleted ...
+         10q' conftest.err >conftest.er1
+    cat conftest.er1 >&5
+  fi
+  rm -f conftest.er1 conftest.err
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }
+done
+rm -f a.out
+
+# If we don't use `.F' as extension, the preprocessor is not run on the
+# input file.  (Note that this only needs to work for GNU compilers.)
+ac_save_ext=$ac_ext
+ac_ext=F
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
+$as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
+if ${ac_cv_fc_compiler_gnu+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat > conftest.$ac_ext <<_ACEOF
+      program main
+#ifndef __GNUC__
+       choke me
+#endif
+
+      end
+_ACEOF
+if ac_fn_fc_try_compile "$LINENO"; then :
+  ac_compiler_gnu=yes
+else
+  ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_fc_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
+$as_echo "$ac_cv_fc_compiler_gnu" >&6; }
+ac_ext=$ac_save_ext
+ac_test_FCFLAGS=${FCFLAGS+set}
+ac_save_FCFLAGS=$FCFLAGS
+FCFLAGS=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
+$as_echo_n "checking whether $FC accepts -g... " >&6; }
+if ${ac_cv_prog_fc_g+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  FCFLAGS=-g
+cat > conftest.$ac_ext <<_ACEOF
+      program main
+
+      end
+_ACEOF
+if ac_fn_fc_try_compile "$LINENO"; then :
+  ac_cv_prog_fc_g=yes
+else
+  ac_cv_prog_fc_g=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
+$as_echo "$ac_cv_prog_fc_g" >&6; }
+if test "$ac_test_FCFLAGS" = set; then
+  FCFLAGS=$ac_save_FCFLAGS
+elif test $ac_cv_prog_fc_g = yes; then
+  if test "x$ac_cv_fc_compiler_gnu" = xyes; then
+    FCFLAGS="-g -O2"
+  else
+    FCFLAGS="-g"
+  fi
+else
+  if test "x$ac_cv_fc_compiler_gnu" = xyes; then
+    FCFLAGS="-O2"
+  else
+    FCFLAGS=
+  fi
+fi
+
+if test $ac_compiler_gnu = yes; then
+  GFC=yes
+else
+  GFC=
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
 ac_config_headers="$ac_config_headers src/config.h"
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 _ACEOF
 
 
+WRAPPED_GFORTRAN_NAME=`echo 'gfortran' | sed $gcc_transform_name`
+
+cat >>confdefs.h <<_ACEOF
+@%:@define WRAPPED_GFORTRAN_NAME "$WRAPPED_GFORTRAN_NAME"
+_ACEOF
+
+
 
 ##########################################################################
 ### Transform the superficial (wrapper) gcc names
 _ACEOF
 
 
+WRAPPER_GFORTRAN_NAME=`echo 'gfortran' | sed $program_transform_name_regex`
+
+cat >>confdefs.h <<_ACEOF
+@%:@define WRAPPER_GFORTRAN_NAME "$WRAPPER_GFORTRAN_NAME"
+_ACEOF
+
+
 
 cat >>confdefs.h <<_ACEOF
 @%:@define WRAPPER_BUILD_ALIAS "$build_alias"

File autom4te.cache/output.1

 GREP
 CPP
 LN_S
+ac_ct_FC
+FCFLAGS
+FC
 am__fastdepCXX_FALSE
 am__fastdepCXX_TRUE
 CXXDEPMODE
 CXX
 CXXFLAGS
 CCC
+FC
+FCFLAGS
 CPP'
 
 
               you have headers in a nonstandard directory <include dir>
   CXX         C++ compiler command
   CXXFLAGS    C++ compiler flags
+  FC          Fortran compiler command
+  FCFLAGS     Fortran compiler flags
   CPP         C preprocessor
 
 Use these variables to override the choices made by `configure' or to help
 
 } @%:@ ac_fn_cxx_try_compile
 
+@%:@ ac_fn_fc_try_compile LINENO
+@%:@ ---------------------------
+@%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
+ac_fn_fc_try_compile ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  rm -f conftest.$ac_objext
+  if { { ac_try="$ac_compile"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_compile") 2>conftest.err
+  ac_status=$?
+  if test -s conftest.err; then
+    grep -v '^ *+' conftest.err >conftest.er1
+    cat conftest.er1 >&5
+    mv -f conftest.er1 conftest.err
+  fi
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; } && {
+	 test -z "$ac_fc_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then :
+  ac_retval=0
+else
+  $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+	ac_retval=1
+fi
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  as_fn_set_status $ac_retval
+
+} @%:@ ac_fn_fc_try_compile
+
 @%:@ ac_fn_c_try_cpp LINENO
 @%:@ ----------------------
 @%:@ Try to preprocess conftest.@S|@ac_ext, and return whether this succeeded.
 fi
 
 
+ac_ext=${ac_fc_srcext-f}
+ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
+ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_fc_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+  for ac_prog in gfortran
+  do
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_FC+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$FC"; then
+  ac_cv_prog_FC="$FC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+FC=$ac_cv_prog_FC
+if test -n "$FC"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
+$as_echo "$FC" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+    test -n "$FC" && break
+  done
+fi
+if test -z "$FC"; then
+  ac_ct_FC=$FC
+  for ac_prog in gfortran
+do
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_FC+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$ac_ct_FC"; then
+  ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_ac_ct_FC="$ac_prog"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_FC=$ac_cv_prog_ac_ct_FC
+if test -n "$ac_ct_FC"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
+$as_echo "$ac_ct_FC" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+  test -n "$ac_ct_FC" && break
+done
+
+  if test "x$ac_ct_FC" = x; then
+    FC=""
+  else
+    case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+    FC=$ac_ct_FC
+  fi
+fi
+
+
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+  { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+  ac_status=$?
+  if test -s conftest.err; then
+    sed '10a\
+... rest of stderr output deleted ...
+         10q' conftest.err >conftest.er1
+    cat conftest.er1 >&5
+  fi
+  rm -f conftest.er1 conftest.err
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }
+done
+rm -f a.out
+
+# If we don't use `.F' as extension, the preprocessor is not run on the
+# input file.  (Note that this only needs to work for GNU compilers.)
+ac_save_ext=$ac_ext
+ac_ext=F
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
+$as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
+if ${ac_cv_fc_compiler_gnu+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat > conftest.$ac_ext <<_ACEOF
+      program main
+#ifndef __GNUC__
+       choke me
+#endif
+
+      end
+_ACEOF
+if ac_fn_fc_try_compile "$LINENO"; then :
+  ac_compiler_gnu=yes
+else
+  ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_fc_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
+$as_echo "$ac_cv_fc_compiler_gnu" >&6; }
+ac_ext=$ac_save_ext
+ac_test_FCFLAGS=${FCFLAGS+set}
+ac_save_FCFLAGS=$FCFLAGS
+FCFLAGS=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
+$as_echo_n "checking whether $FC accepts -g... " >&6; }
+if ${ac_cv_prog_fc_g+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  FCFLAGS=-g
+cat > conftest.$ac_ext <<_ACEOF
+      program main
+
+      end
+_ACEOF
+if ac_fn_fc_try_compile "$LINENO"; then :
+  ac_cv_prog_fc_g=yes
+else
+  ac_cv_prog_fc_g=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
+$as_echo "$ac_cv_prog_fc_g" >&6; }
+if test "$ac_test_FCFLAGS" = set; then
+  FCFLAGS=$ac_save_FCFLAGS
+elif test $ac_cv_prog_fc_g = yes; then
+  if test "x$ac_cv_fc_compiler_gnu" = xyes; then
+    FCFLAGS="-g -O2"
+  else
+    FCFLAGS="-g"
+  fi
+else
+  if test "x$ac_cv_fc_compiler_gnu" = xyes; then
+    FCFLAGS="-O2"
+  else
+    FCFLAGS=
+  fi
+fi
+
+if test $ac_compiler_gnu = yes; then
+  GFC=yes
+else
+  GFC=
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
 ac_config_headers="$ac_config_headers src/config.h"
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 _ACEOF
 
 
+WRAPPED_GFORTRAN_NAME=`echo 'gfortran' | sed $gcc_transform_name`
+
+cat >>confdefs.h <<_ACEOF
+@%:@define WRAPPED_GFORTRAN_NAME "$WRAPPED_GFORTRAN_NAME"
+_ACEOF
+
+
 
 ##########################################################################
 ### Transform the superficial (wrapper) gcc names
 _ACEOF
 
 
+WRAPPER_GFORTRAN_NAME=`echo 'gfortran' | sed $program_transform_name_regex`
+
+cat >>confdefs.h <<_ACEOF
+@%:@define WRAPPER_GFORTRAN_NAME "$WRAPPER_GFORTRAN_NAME"
+_ACEOF
+
+
 
 cat >>confdefs.h <<_ACEOF
 @%:@define WRAPPER_BUILD_ALIAS "$build_alias"

File autom4te.cache/traces.0

 m4trace:configure.ac:5: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
 m4trace:configure.ac:5: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
 m4trace:configure.ac:5: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
-m4trace:configure.ac:6: -1- AC_CONFIG_HEADERS([src/config.h])
-m4trace:configure.ac:7: -1- AC_SUBST([LN_S], [$as_ln_s])
-m4trace:configure.ac:7: -1- AC_SUBST_TRACE([LN_S])
-m4trace:configure.ac:7: -1- m4_pattern_allow([^LN_S$])
-m4trace:configure.ac:8: -1- AC_SUBST([CPP])
-m4trace:configure.ac:8: -1- AC_SUBST_TRACE([CPP])
-m4trace:configure.ac:8: -1- m4_pattern_allow([^CPP$])
-m4trace:configure.ac:8: -1- AC_SUBST([CPPFLAGS])
-m4trace:configure.ac:8: -1- AC_SUBST_TRACE([CPPFLAGS])
-m4trace:configure.ac:8: -1- m4_pattern_allow([^CPPFLAGS$])
-m4trace:configure.ac:8: -1- AC_SUBST([CPP])
-m4trace:configure.ac:8: -1- AC_SUBST_TRACE([CPP])
-m4trace:configure.ac:8: -1- m4_pattern_allow([^CPP$])
-m4trace:configure.ac:8: -1- AC_SUBST([GREP])
-m4trace:configure.ac:8: -1- AC_SUBST_TRACE([GREP])
-m4trace:configure.ac:8: -1- m4_pattern_allow([^GREP$])
-m4trace:configure.ac:8: -1- AC_SUBST([EGREP])
-m4trace:configure.ac:8: -1- AC_SUBST_TRACE([EGREP])
-m4trace:configure.ac:8: -1- m4_pattern_allow([^EGREP$])
-m4trace:configure.ac:8: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
-m4trace:configure.ac:8: -1- m4_pattern_allow([^STDC_HEADERS$])
-m4trace:configure.ac:8: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
+m4trace:configure.ac:6: -1- AC_SUBST([FC])
+m4trace:configure.ac:6: -1- AC_SUBST_TRACE([FC])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^FC$])
+m4trace:configure.ac:6: -1- AC_SUBST([FCFLAGS])
+m4trace:configure.ac:6: -1- AC_SUBST_TRACE([FCFLAGS])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^FCFLAGS$])
+m4trace:configure.ac:6: -1- AC_SUBST([LDFLAGS])
+m4trace:configure.ac:6: -1- AC_SUBST_TRACE([LDFLAGS])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^LDFLAGS$])
+m4trace:configure.ac:6: -1- AC_SUBST([LIBS])
+m4trace:configure.ac:6: -1- AC_SUBST_TRACE([LIBS])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:6: -1- AC_SUBST([FC])
+m4trace:configure.ac:6: -1- AC_SUBST_TRACE([FC])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^FC$])
+m4trace:configure.ac:6: -1- AC_SUBST([ac_ct_FC])
+m4trace:configure.ac:6: -1- AC_SUBST_TRACE([ac_ct_FC])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^ac_ct_FC$])
+m4trace:configure.ac:7: -1- AC_CONFIG_HEADERS([src/config.h])
+m4trace:configure.ac:8: -1- AC_SUBST([LN_S], [$as_ln_s])
+m4trace:configure.ac:8: -1- AC_SUBST_TRACE([LN_S])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^LN_S$])
+m4trace:configure.ac:9: -1- AC_SUBST([CPP])
+m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CPP])
+m4trace:configure.ac:9: -1- m4_pattern_allow([^CPP$])
+m4trace:configure.ac:9: -1- AC_SUBST([CPPFLAGS])
+m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CPPFLAGS])
+m4trace:configure.ac:9: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:9: -1- AC_SUBST([CPP])
+m4trace:configure.ac:9: -1- AC_SUBST_TRACE([CPP])
+m4trace:configure.ac:9: -1- m4_pattern_allow([^CPP$])
+m4trace:configure.ac:9: -1- AC_SUBST([GREP])
+m4trace:configure.ac:9: -1- AC_SUBST_TRACE([GREP])
+m4trace:configure.ac:9: -1- m4_pattern_allow([^GREP$])
+m4trace:configure.ac:9: -1- AC_SUBST([EGREP])
+m4trace:configure.ac:9: -1- AC_SUBST_TRACE([EGREP])
+m4trace:configure.ac:9: -1- m4_pattern_allow([^EGREP$])
+m4trace:configure.ac:9: -1- AC_DEFINE_TRACE_LITERAL([STDC_HEADERS])
+m4trace:configure.ac:9: -1- m4_pattern_allow([^STDC_HEADERS$])
+m4trace:configure.ac:9: -1- AH_OUTPUT([STDC_HEADERS], [/* Define to 1 if you have the ANSI C header files. */
 @%:@undef STDC_HEADERS])
-m4trace:configure.ac:9: -1- AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile])
-m4trace:configure.ac:17: -1- AC_DEFINE_TRACE_LITERAL([WITH_SAGE])
-m4trace:configure.ac:17: -1- m4_pattern_allow([^WITH_SAGE$])
-m4trace:configure.ac:17: -1- AH_OUTPUT([WITH_SAGE], [/* Enable support for Sage */
+m4trace:configure.ac:10: -1- AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile])
+m4trace:configure.ac:18: -1- AC_DEFINE_TRACE_LITERAL([WITH_SAGE])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^WITH_SAGE$])
+m4trace:configure.ac:18: -1- AH_OUTPUT([WITH_SAGE], [/* Enable support for Sage */
 @%:@undef WITH_SAGE])
-m4trace:configure.ac:27: -1- AH_OUTPUT([CC_PATH_PREFIX], [/* Path to the compiler binaries to wrap. Usually /usr/bin or /usr/local/bin.
+m4trace:configure.ac:28: -1- AH_OUTPUT([CC_PATH_PREFIX], [/* Path to the compiler binaries to wrap. Usually /usr/bin or /usr/local/bin.
    */
 @%:@undef CC_PATH_PREFIX])
-m4trace:configure.ac:36: -1- AC_DEFINE_TRACE_LITERAL([CC_PATH_PREFIX])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^CC_PATH_PREFIX$])
-m4trace:configure.ac:40: -1- AH_OUTPUT([LD_PATH_PREFIX], [/* Path to the binutils binaries to wrap. Usually /usr/bin or /usr/local/bin.
+m4trace:configure.ac:37: -1- AC_DEFINE_TRACE_LITERAL([CC_PATH_PREFIX])
+m4trace:configure.ac:37: -1- m4_pattern_allow([^CC_PATH_PREFIX$])
+m4trace:configure.ac:41: -1- AH_OUTPUT([LD_PATH_PREFIX], [/* Path to the binutils binaries to wrap. Usually /usr/bin or /usr/local/bin.
    */
 @%:@undef LD_PATH_PREFIX])
-m4trace:configure.ac:50: -1- AC_DEFINE_TRACE_LITERAL([LD_PATH_PREFIX])
-m4trace:configure.ac:50: -1- m4_pattern_allow([^LD_PATH_PREFIX$])
-m4trace:configure.ac:57: -1- AH_OUTPUT([LD_HAS_HASH_STYLE], [/* Whether the linker accepts --hash-style=both, ELF specific. */
+m4trace:configure.ac:51: -1- AC_DEFINE_TRACE_LITERAL([LD_PATH_PREFIX])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^LD_PATH_PREFIX$])
+m4trace:configure.ac:58: -1- AH_OUTPUT([LD_HAS_HASH_STYLE], [/* Whether the linker accepts --hash-style=both, ELF specific. */
 @%:@undef LD_HAS_HASH_STYLE])
-m4trace:configure.ac:60: -1- AC_DEFINE_TRACE_LITERAL([LD_HAS_HASH_STYLE])
-m4trace:configure.ac:60: -1- m4_pattern_allow([^LD_HAS_HASH_STYLE$])
-m4trace:configure.ac:66: -1- AH_OUTPUT([LINKER_IS_GNU_LD], [/* Whether the linker is GNU ld. */
+m4trace:configure.ac:61: -1- AC_DEFINE_TRACE_LITERAL([LD_HAS_HASH_STYLE])
+m4trace:configure.ac:61: -1- m4_pattern_allow([^LD_HAS_HASH_STYLE$])
+m4trace:configure.ac:67: -1- AH_OUTPUT([LINKER_IS_GNU_LD], [/* Whether the linker is GNU ld. */
 @%:@undef LINKER_IS_GNU_LD])
-m4trace:configure.ac:69: -1- AC_DEFINE_TRACE_LITERAL([LINKER_IS_GNU_LD])
-m4trace:configure.ac:69: -1- m4_pattern_allow([^LINKER_IS_GNU_LD$])
-m4trace:configure.ac:76: -1- AH_OUTPUT([LINKER_IS_APPLE_OSX_LD], [/* Whether the linker is OSX ld. */
+m4trace:configure.ac:70: -1- AC_DEFINE_TRACE_LITERAL([LINKER_IS_GNU_LD])
+m4trace:configure.ac:70: -1- m4_pattern_allow([^LINKER_IS_GNU_LD$])
+m4trace:configure.ac:77: -1- AH_OUTPUT([LINKER_IS_APPLE_OSX_LD], [/* Whether the linker is OSX ld. */
 @%:@undef LINKER_IS_APPLE_OSX_LD])
-m4trace:configure.ac:79: -1- AC_DEFINE_TRACE_LITERAL([LINKER_IS_APPLE_OSX_LD])
-m4trace:configure.ac:79: -1- m4_pattern_allow([^LINKER_IS_APPLE_OSX_LD$])
-m4trace:configure.ac:86: -1- AH_OUTPUT([LINKER_IS_SOLARIS_LD], [/* Whether the linker is Sun/Oracle Solaris ld. */
+m4trace:configure.ac:80: -1- AC_DEFINE_TRACE_LITERAL([LINKER_IS_APPLE_OSX_LD])
+m4trace:configure.ac:80: -1- m4_pattern_allow([^LINKER_IS_APPLE_OSX_LD$])
+m4trace:configure.ac:87: -1- AH_OUTPUT([LINKER_IS_SOLARIS_LD], [/* Whether the linker is Sun/Oracle Solaris ld. */
 @%:@undef LINKER_IS_SOLARIS_LD])
-m4trace:configure.ac:89: -1- AC_DEFINE_TRACE_LITERAL([LINKER_IS_SOLARIS_LD])
-m4trace:configure.ac:89: -1- m4_pattern_allow([^LINKER_IS_SOLARIS_LD$])
-m4trace:configure.ac:110: -1- AH_OUTPUT([WRAPPED_GCC_NAME], [/* The transformed name for the underlying gcc binary. */
+m4trace:configure.ac:90: -1- AC_DEFINE_TRACE_LITERAL([LINKER_IS_SOLARIS_LD])
+m4trace:configure.ac:90: -1- m4_pattern_allow([^LINKER_IS_SOLARIS_LD$])
+m4trace:configure.ac:111: -1- AH_OUTPUT([WRAPPED_GCC_NAME], [/* The transformed name for the underlying gcc binary. */
 @%:@undef WRAPPED_GCC_NAME])
-m4trace:configure.ac:112: -1- AC_DEFINE_TRACE_LITERAL([WRAPPED_GCC_NAME])
-m4trace:configure.ac:112: -1- m4_pattern_allow([^WRAPPED_GCC_NAME$])
-m4trace:configure.ac:115: -1- AH_OUTPUT([WRAPPED_C99_NAME], [/* The transformed name for the underlying c99 binary. */
+m4trace:configure.ac:113: -1- AC_DEFINE_TRACE_LITERAL([WRAPPED_GCC_NAME])
+m4trace:configure.ac:113: -1- m4_pattern_allow([^WRAPPED_GCC_NAME$])
+m4trace:configure.ac:116: -1- AH_OUTPUT([WRAPPED_C99_NAME], [/* The transformed name for the underlying c99 binary. */
 @%:@undef WRAPPED_C99_NAME])
-m4trace:configure.ac:117: -1- AC_DEFINE_TRACE_LITERAL([WRAPPED_C99_NAME])
-m4trace:configure.ac:117: -1- m4_pattern_allow([^WRAPPED_C99_NAME$])
-m4trace:configure.ac:120: -1- AH_OUTPUT([WRAPPED_C89_NAME], [/* The transformed name for the underlying c89 binary. */
+m4trace:configure.ac:118: -1- AC_DEFINE_TRACE_LITERAL([WRAPPED_C99_NAME])
+m4trace:configure.ac:118: -1- m4_pattern_allow([^WRAPPED_C99_NAME$])
+m4trace:configure.ac:121: -1- AH_OUTPUT([WRAPPED_C89_NAME], [/* The transformed name for the underlying c89 binary. */
 @%:@undef WRAPPED_C89_NAME])
-m4trace:configure.ac:122: -1- AC_DEFINE_TRACE_LITERAL([WRAPPED_C89_NAME])
-m4trace:configure.ac:122: -1- m4_pattern_allow([^WRAPPED_C89_NAME$])
-m4trace:configure.ac:125: -1- AH_OUTPUT([WRAPPED_CPLUSPLUS_NAME], [/* The transformed name for the underlying c++ binary. */
+m4trace:configure.ac:123: -1- AC_DEFINE_TRACE_LITERAL([WRAPPED_C89_NAME])
+m4trace:configure.ac:123: -1- m4_pattern_allow([^WRAPPED_C89_NAME$])
+m4trace:configure.ac:126: -1- AH_OUTPUT([WRAPPED_CPLUSPLUS_NAME], [/* The transformed name for the underlying c++ binary. */
 @%:@undef WRAPPED_CPLUSPLUS_NAME])
-m4trace:configure.ac:127: -1- AC_DEFINE_TRACE_LITERAL([WRAPPED_CPLUSPLUS_NAME])
-m4trace:configure.ac:127: -1- m4_pattern_allow([^WRAPPED_CPLUSPLUS_NAME$])
-m4trace:configure.ac:130: -1- AH_OUTPUT([WRAPPED_GPLUSPLUS_NAME], [/* The transformed name for the underlying g++ binary. */
+m4trace:configure.ac:128: -1- AC_DEFINE_TRACE_LITERAL([WRAPPED_CPLUSPLUS_NAME])
+m4trace:configure.ac:128: -1- m4_pattern_allow([^WRAPPED_CPLUSPLUS_NAME$])
+m4trace:configure.ac:131: -1- AH_OUTPUT([WRAPPED_GPLUSPLUS_NAME], [/* The transformed name for the underlying g++ binary. */
 @%:@undef WRAPPED_GPLUSPLUS_NAME])
-m4trace:configure.ac:132: -1- AC_DEFINE_TRACE_LITERAL([WRAPPED_GPLUSPLUS_NAME])
-m4trace:configure.ac:132: -1- m4_pattern_allow([^WRAPPED_GPLUSPLUS_NAME$])
-m4trace:configure.ac:145: -1- AH_OUTPUT([WRAPPER_NAME], [/* The transformed name for the compiler wrapper\'s own wrapper binary. */
+m4trace:configure.ac:133: -1- AC_DEFINE_TRACE_LITERAL([WRAPPED_GPLUSPLUS_NAME])
+m4trace:configure.ac:133: -1- m4_pattern_allow([^WRAPPED_GPLUSPLUS_NAME$])
+m4trace:configure.ac:136: -1- AH_OUTPUT([WRAPPED_GFORTRAN_NAME], [/* The transformed name for the underlying gfortran binary. */
+@%:@undef WRAPPED_GFORTRAN_NAME])
+m4trace:configure.ac:138: -1- AC_DEFINE_TRACE_LITERAL([WRAPPED_GFORTRAN_NAME])
+m4trace:configure.ac:138: -1- m4_pattern_allow([^WRAPPED_GFORTRAN_NAME$])
+m4trace:configure.ac:151: -1- AH_OUTPUT([WRAPPER_NAME], [/* The transformed name for the compiler wrapper\'s own wrapper binary. */
 @%:@undef WRAPPER_NAME])
-m4trace:configure.ac:147: -1- AC_DEFINE_TRACE_LITERAL([WRAPPER_NAME])
-m4trace:configure.ac:147: -1- m4_pattern_allow([^WRAPPER_NAME$])
-m4trace:configure.ac:148: -1- AC_SUBST([WRAPPER_NAME])
-m4trace:configure.ac:148: -1- AC_SUBST_TRACE([WRAPPER_NAME])
-m4trace:configure.ac:148: -1- m4_pattern_allow([^WRAPPER_NAME$])
-m4trace:configure.ac:151: -1- AH_OUTPUT([WRAPPER_GCC_NAME], [/* The transformed name for the compiler wrapper\'s gcc binary. */
+m4trace:configure.ac:153: -1- AC_DEFINE_TRACE_LITERAL([WRAPPER_NAME])
+m4trace:configure.ac:153: -1- m4_pattern_allow([^WRAPPER_NAME$])
+m4trace:configure.ac:154: -1- AC_SUBST([WRAPPER_NAME])
+m4trace:configure.ac:154: -1- AC_SUBST_TRACE([WRAPPER_NAME])
+m4trace:configure.ac:154: -1- m4_pattern_allow([^WRAPPER_NAME$])
+m4trace:configure.ac:157: -1- AH_OUTPUT([WRAPPER_GCC_NAME], [/* The transformed name for the compiler wrapper\'s gcc binary. */
 @%:@undef WRAPPER_GCC_NAME])
-m4trace:configure.ac:153: -1- AC_DEFINE_TRACE_LITERAL([WRAPPER_GCC_NAME])
-m4trace:configure.ac:153: -1- m4_pattern_allow([^WRAPPER_GCC_NAME$])
-m4trace:configure.ac:156: -1- AH_OUTPUT([WRAPPER_CC_NAME], [/* The transformed name for the compiler wrapper\'s cc binary. */
+m4trace:configure.ac:159: -1- AC_DEFINE_TRACE_LITERAL([WRAPPER_GCC_NAME])
+m4trace:configure.ac:159: -1- m4_pattern_allow([^WRAPPER_GCC_NAME$])
+m4trace:configure.ac:162: -1- AH_OUTPUT([WRAPPER_CC_NAME], [/* The transformed name for the compiler wrapper\'s cc binary. */
 @%:@undef WRAPPER_CC_NAME])
-m4trace:configure.ac:158: -1- AC_DEFINE_TRACE_LITERAL([WRAPPER_CC_NAME])
-m4trace:configure.ac:158: -1- m4_pattern_allow([^WRAPPER_CC_NAME$])
-m4trace:configure.ac:161: -1- AH_OUTPUT([WRAPPER_C99_NAME], [/* The transformed name for the compiler wrapper\'s c99 binary. */
+m4trace:configure.ac:164: -1- AC_DEFINE_TRACE_LITERAL([WRAPPER_CC_NAME])
+m4trace:configure.ac:164: -1- m4_pattern_allow([^WRAPPER_CC_NAME$])
+m4trace:configure.ac:167: -1- AH_OUTPUT([WRAPPER_C99_NAME], [/* The transformed name for the compiler wrapper\'s c99 binary. */
 @%:@undef WRAPPER_C99_NAME])
-m4trace:configure.ac:163: -1- AC_DEFINE_TRACE_LITERAL([WRAPPER_C99_NAME])
-m4trace:configure.ac:163: -1- m4_pattern_allow([^WRAPPER_C99_NAME$])
-m4trace:configure.ac:166: -1- AH_OUTPUT([WRAPPER_C89_NAME], [/* The transformed name for the compiler wrapper\'s c89 binary. */
+m4trace:configure.ac:169: -1- AC_DEFINE_TRACE_LITERAL([WRAPPER_C99_NAME])
+m4trace:configure.ac:169: -1- m4_pattern_allow([^WRAPPER_C99_NAME$])
+m4trace:configure.ac:172: -1- AH_OUTPUT([WRAPPER_C89_NAME], [/* The transformed name for the compiler wrapper\'s c89 binary. */
 @%:@undef WRAPPER_C89_NAME])
-m4trace:configure.ac:168: -1- AC_DEFINE_TRACE_LITERAL([WRAPPER_C89_NAME])
-m4trace:configure.ac:168: -1- m4_pattern_allow([^WRAPPER_C89_NAME$])
-m4trace:configure.ac:171: -1- AH_OUTPUT([WRAPPER_CPLUSPLUS_NAME], [/* The transformed name for the compiler wrapper\'s c++ binary. */
+m4trace:configure.ac:174: -1- AC_DEFINE_TRACE_LITERAL([WRAPPER_C89_NAME])
+m4trace:configure.ac:174: -1- m4_pattern_allow([^WRAPPER_C89_NAME$])
+m4trace:configure.ac:177: -1- AH_OUTPUT([WRAPPER_CPLUSPLUS_NAME], [/* The transformed name for the compiler wrapper\'s c++ binary. */
 @%:@undef WRAPPER_CPLUSPLUS_NAME])
-m4trace:configure.ac:173: -1- AC_DEFINE_TRACE_LITERAL([WRAPPER_CPLUSPLUS_NAME])
-m4trace:configure.ac:173: -1- m4_pattern_allow([^WRAPPER_CPLUSPLUS_NAME$])
-m4trace:configure.ac:176: -1- AH_OUTPUT([WRAPPER_GPLUSPLUS_NAME], [/* The transformed name for the compiler wrapper\'s g++ binary. */
+m4trace:configure.ac:179: -1- AC_DEFINE_TRACE_LITERAL([WRAPPER_CPLUSPLUS_NAME])
+m4trace:configure.ac:179: -1- m4_pattern_allow([^WRAPPER_CPLUSPLUS_NAME$])
+m4trace:configure.ac:182: -1- AH_OUTPUT([WRAPPER_GPLUSPLUS_NAME], [/* The transformed name for the compiler wrapper\'s g++ binary. */
 @%:@undef WRAPPER_GPLUSPLUS_NAME])
-m4trace:configure.ac:178: -1- AC_DEFINE_TRACE_LITERAL([WRAPPER_GPLUSPLUS_NAME])
-m4trace:configure.ac:178: -1- m4_pattern_allow([^WRAPPER_GPLUSPLUS_NAME$])
-m4trace:configure.ac:180: -1- AH_OUTPUT([WRAPPER_BUILD_ALIAS], [/* The canonical system type for gcc. */
+m4trace:configure.ac:184: -1- AC_DEFINE_TRACE_LITERAL([WRAPPER_GPLUSPLUS_NAME])
+m4trace:configure.ac:184: -1- m4_pattern_allow([^WRAPPER_GPLUSPLUS_NAME$])
+m4trace:configure.ac:187: -1- AH_OUTPUT([WRAPPER_GFORTRAN_NAME], [/* The transformed name for the compiler wrapper\'s gfortran binary. */
+@%:@undef WRAPPER_GFORTRAN_NAME])
+m4trace:configure.ac:189: -1- AC_DEFINE_TRACE_LITERAL([WRAPPER_GFORTRAN_NAME])
+m4trace:configure.ac:189: -1- m4_pattern_allow([^WRAPPER_GFORTRAN_NAME$])
+m4trace:configure.ac:191: -1- AH_OUTPUT([WRAPPER_BUILD_ALIAS], [/* The canonical system type for gcc. */
 @%:@undef WRAPPER_BUILD_ALIAS])
-m4trace:configure.ac:182: -1- AC_DEFINE_TRACE_LITERAL([WRAPPER_BUILD_ALIAS])
-m4trace:configure.ac:182: -1- m4_pattern_allow([^WRAPPER_BUILD_ALIAS$])
-m4trace:configure.ac:183: -1- AC_SUBST([WRAPPER_BUILD_ALIAS])
-m4trace:configure.ac:183: -1- AC_SUBST_TRACE([WRAPPER_BUILD_ALIAS])
-m4trace:configure.ac:183: -1- m4_pattern_allow([^WRAPPER_BUILD_ALIAS$])
-m4trace:configure.ac:190: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
+m4trace:configure.ac:193: -1- AC_DEFINE_TRACE_LITERAL([WRAPPER_BUILD_ALIAS])
+m4trace:configure.ac:193: -1- m4_pattern_allow([^WRAPPER_BUILD_ALIAS$])
+m4trace:configure.ac:194: -1- AC_SUBST([WRAPPER_BUILD_ALIAS])
+m4trace:configure.ac:194: -1- AC_SUBST_TRACE([WRAPPER_BUILD_ALIAS])
+m4trace:configure.ac:194: -1- m4_pattern_allow([^WRAPPER_BUILD_ALIAS$])
+m4trace:configure.ac:201: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
 You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from...
 ../../lib/autoconf/general.m4:1481: AC_ARG_WITH is expanded from...
-configure.ac:190: the top level])
-m4trace:configure.ac:196: -1- AC_SUBST([helpdir])
-m4trace:configure.ac:196: -1- AC_SUBST_TRACE([helpdir])
-m4trace:configure.ac:196: -1- m4_pattern_allow([^helpdir$])
-m4trace:configure.ac:204: -1- AM_CONDITIONAL([WANT_DOC], [test "x$wantdoc" != "xno"])
-m4trace:configure.ac:204: -1- AC_SUBST([WANT_DOC_TRUE])
-m4trace:configure.ac:204: -1- AC_SUBST_TRACE([WANT_DOC_TRUE])
-m4trace:configure.ac:204: -1- m4_pattern_allow([^WANT_DOC_TRUE$])
-m4trace:configure.ac:204: -1- AC_SUBST([WANT_DOC_FALSE])
-m4trace:configure.ac:204: -1- AC_SUBST_TRACE([WANT_DOC_FALSE])
-m4trace:configure.ac:204: -1- m4_pattern_allow([^WANT_DOC_FALSE$])
-m4trace:configure.ac:204: -1- _AM_SUBST_NOTMAKE([WANT_DOC_TRUE])
-m4trace:configure.ac:204: -1- _AM_SUBST_NOTMAKE([WANT_DOC_FALSE])
-m4trace:configure.ac:208: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
-m4trace:configure.ac:208: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
-m4trace:configure.ac:208: -1- m4_pattern_allow([^LIB@&t@OBJS$])
-m4trace:configure.ac:208: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
-m4trace:configure.ac:208: -1- AC_SUBST_TRACE([LTLIBOBJS])
-m4trace:configure.ac:208: -1- m4_pattern_allow([^LTLIBOBJS$])
-m4trace:configure.ac:208: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
-m4trace:configure.ac:208: -1- AC_SUBST([am__EXEEXT_TRUE])
-m4trace:configure.ac:208: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
-m4trace:configure.ac:208: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
-m4trace:configure.ac:208: -1- AC_SUBST([am__EXEEXT_FALSE])
-m4trace:configure.ac:208: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
-m4trace:configure.ac:208: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
-m4trace:configure.ac:208: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
-m4trace:configure.ac:208: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
-m4trace:configure.ac:208: -1- AC_SUBST_TRACE([top_builddir])
-m4trace:configure.ac:208: -1- AC_SUBST_TRACE([top_build_prefix])
-m4trace:configure.ac:208: -1- AC_SUBST_TRACE([srcdir])
-m4trace:configure.ac:208: -1- AC_SUBST_TRACE([abs_srcdir])
-m4trace:configure.ac:208: -1- AC_SUBST_TRACE([top_srcdir])
-m4trace:configure.ac:208: -1- AC_SUBST_TRACE([abs_top_srcdir])
-m4trace:configure.ac:208: -1- AC_SUBST_TRACE([builddir])
-m4trace:configure.ac:208: -1- AC_SUBST_TRACE([abs_builddir])
-m4trace:configure.ac:208: -1- AC_SUBST_TRACE([abs_top_builddir])
-m4trace:configure.ac:208: -1- AC_SUBST_TRACE([INSTALL])
-m4trace:configure.ac:208: -1- AC_SUBST_TRACE([MKDIR_P])
+configure.ac:201: the top level])
+m4trace:configure.ac:207: -1- AC_SUBST([helpdir])
+m4trace:configure.ac:207: -1- AC_SUBST_TRACE([helpdir])
+m4trace:configure.ac:207: -1- m4_pattern_allow([^helpdir$])
+m4trace:configure.ac:215: -1- AM_CONDITIONAL([WANT_DOC], [test "x$wantdoc" != "xno"])
+m4trace:configure.ac:215: -1- AC_SUBST([WANT_DOC_TRUE])
+m4trace:configure.ac:215: -1- AC_SUBST_TRACE([WANT_DOC_TRUE])
+m4trace:configure.ac:215: -1- m4_pattern_allow([^WANT_DOC_TRUE$])
+m4trace:configure.ac:215: -1- AC_SUBST([WANT_DOC_FALSE])
+m4trace:configure.ac:215: -1- AC_SUBST_TRACE([WANT_DOC_FALSE])
+m4trace:configure.ac:215: -1- m4_pattern_allow([^WANT_DOC_FALSE$])
+m4trace:configure.ac:215: -1- _AM_SUBST_NOTMAKE([WANT_DOC_TRUE])
+m4trace:configure.ac:215: -1- _AM_SUBST_NOTMAKE([WANT_DOC_FALSE])
+m4trace:configure.ac:219: -1- AC_SUBST([LIB@&t@OBJS], [$ac_libobjs])
+m4trace:configure.ac:219: -1- AC_SUBST_TRACE([LIB@&t@OBJS])
+m4trace:configure.ac:219: -1- m4_pattern_allow([^LIB@&t@OBJS$])
+m4trace:configure.ac:219: -1- AC_SUBST([LTLIBOBJS], [$ac_ltlibobjs])
+m4trace:configure.ac:219: -1- AC_SUBST_TRACE([LTLIBOBJS])
+m4trace:configure.ac:219: -1- m4_pattern_allow([^LTLIBOBJS$])
+m4trace:configure.ac:219: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
+m4trace:configure.ac:219: -1- AC_SUBST([am__EXEEXT_TRUE])
+m4trace:configure.ac:219: -1- AC_SUBST_TRACE([am__EXEEXT_TRUE])
+m4trace:configure.ac:219: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
+m4trace:configure.ac:219: -1- AC_SUBST([am__EXEEXT_FALSE])
+m4trace:configure.ac:219: -1- AC_SUBST_TRACE([am__EXEEXT_FALSE])
+m4trace:configure.ac:219: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
+m4trace:configure.ac:219: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
+m4trace:configure.ac:219: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
+m4trace:configure.ac:219: -1- AC_SUBST_TRACE([top_builddir])
+m4trace:configure.ac:219: -1- AC_SUBST_TRACE([top_build_prefix])
+m4trace:configure.ac:219: -1- AC_SUBST_TRACE([srcdir])
+m4trace:configure.ac:219: -1- AC_SUBST_TRACE([abs_srcdir])
+m4trace:configure.ac:219: -1- AC_SUBST_TRACE([top_srcdir])
+m4trace:configure.ac:219: -1- AC_SUBST_TRACE([abs_top_srcdir])
+m4trace:configure.ac:219: -1- AC_SUBST_TRACE([builddir])
+m4trace:configure.ac:219: -1- AC_SUBST_TRACE([abs_builddir])
+m4trace:configure.ac:219: -1- AC_SUBST_TRACE([abs_top_builddir])
+m4trace:configure.ac:219: -1- AC_SUBST_TRACE([INSTALL])
+m4trace:configure.ac:219: -1- AC_SUBST_TRACE([MKDIR_P])

File autom4te.cache/traces.1

 m4trace:configure.ac:5: -1- m4_pattern_allow([^am__fastdepCXX_FALSE$])
 m4trace:configure.ac:5: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_TRUE])
 m4trace:configure.ac:5: -1- _AM_SUBST_NOTMAKE([am__fastdepCXX_FALSE])
-m4trace:configure.ac:7: -1- m4_pattern_allow([^LN_S$])
-m4trace:configure.ac:8: -1- m4_pattern_allow([^CPP$])
-m4trace:configure.ac:8: -1- m4_pattern_allow([^CPPFLAGS$])
-m4trace:configure.ac:8: -1- m4_pattern_allow([^CPP$])
-m4trace:configure.ac:8: -1- m4_pattern_allow([^GREP$])
-m4trace:configure.ac:8: -1- m4_pattern_allow([^EGREP$])
-m4trace:configure.ac:8: -1- m4_pattern_allow([^STDC_HEADERS$])
-m4trace:configure.ac:17: -1- m4_pattern_allow([^WITH_SAGE$])
-m4trace:configure.ac:36: -1- m4_pattern_allow([^CC_PATH_PREFIX$])
-m4trace:configure.ac:50: -1- m4_pattern_allow([^LD_PATH_PREFIX$])
-m4trace:configure.ac:60: -1- AX_CHECK_LINKER_FLAGS([-Wl,--hash-style=both], [AC_DEFINE_UNQUOTED([LD_HAS_HASH_STYLE])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^FC$])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^FCFLAGS$])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^LDFLAGS$])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^LIBS$])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^FC$])
+m4trace:configure.ac:6: -1- m4_pattern_allow([^ac_ct_FC$])
+m4trace:configure.ac:8: -1- m4_pattern_allow([^LN_S$])
+m4trace:configure.ac:9: -1- m4_pattern_allow([^CPP$])
+m4trace:configure.ac:9: -1- m4_pattern_allow([^CPPFLAGS$])
+m4trace:configure.ac:9: -1- m4_pattern_allow([^CPP$])
+m4trace:configure.ac:9: -1- m4_pattern_allow([^GREP$])
+m4trace:configure.ac:9: -1- m4_pattern_allow([^EGREP$])
+m4trace:configure.ac:9: -1- m4_pattern_allow([^STDC_HEADERS$])
+m4trace:configure.ac:18: -1- m4_pattern_allow([^WITH_SAGE$])
+m4trace:configure.ac:37: -1- m4_pattern_allow([^CC_PATH_PREFIX$])
+m4trace:configure.ac:51: -1- m4_pattern_allow([^LD_PATH_PREFIX$])
+m4trace:configure.ac:61: -1- AX_CHECK_LINKER_FLAGS([-Wl,--hash-style=both], [AC_DEFINE_UNQUOTED([LD_HAS_HASH_STYLE])
 ])
-m4trace:configure.ac:60: -1- m4_pattern_allow([^LD_HAS_HASH_STYLE$])
-m4trace:configure.ac:69: -1- AX_CHECK_GNU_LD(["$ldpath_prefix/ld"], [AC_DEFINE_UNQUOTED([LINKER_IS_GNU_LD])
+m4trace:configure.ac:61: -1- m4_pattern_allow([^LD_HAS_HASH_STYLE$])
+m4trace:configure.ac:70: -1- AX_CHECK_GNU_LD(["$ldpath_prefix/ld"], [AC_DEFINE_UNQUOTED([LINKER_IS_GNU_LD])
 ])
-m4trace:configure.ac:69: -1- m4_pattern_allow([^LINKER_IS_GNU_LD$])
-m4trace:configure.ac:79: -1- AX_CHECK_APPLE_OSX_LD(["$ldpath_prefix/ld"], [AC_DEFINE_UNQUOTED([LINKER_IS_APPLE_OSX_LD])
+m4trace:configure.ac:70: -1- m4_pattern_allow([^LINKER_IS_GNU_LD$])
+m4trace:configure.ac:80: -1- AX_CHECK_APPLE_OSX_LD(["$ldpath_prefix/ld"], [AC_DEFINE_UNQUOTED([LINKER_IS_APPLE_OSX_LD])
 ])
-m4trace:configure.ac:79: -1- m4_pattern_allow([^LINKER_IS_APPLE_OSX_LD$])
-m4trace:configure.ac:89: -1- AX_CHECK_SOLARIS_LD(["$ldpath_prefix/ld"], [AC_DEFINE_UNQUOTED([LINKER_IS_SOLARIS_LD])
+m4trace:configure.ac:80: -1- m4_pattern_allow([^LINKER_IS_APPLE_OSX_LD$])
+m4trace:configure.ac:90: -1- AX_CHECK_SOLARIS_LD(["$ldpath_prefix/ld"], [AC_DEFINE_UNQUOTED([LINKER_IS_SOLARIS_LD])
 ])
-m4trace:configure.ac:89: -1- m4_pattern_allow([^LINKER_IS_SOLARIS_LD$])
-m4trace:configure.ac:112: -1- m4_pattern_allow([^WRAPPED_GCC_NAME$])
-m4trace:configure.ac:117: -1- m4_pattern_allow([^WRAPPED_C99_NAME$])
-m4trace:configure.ac:122: -1- m4_pattern_allow([^WRAPPED_C89_NAME$])
-m4trace:configure.ac:127: -1- m4_pattern_allow([^WRAPPED_CPLUSPLUS_NAME$])
-m4trace:configure.ac:132: -1- m4_pattern_allow([^WRAPPED_GPLUSPLUS_NAME$])
-m4trace:configure.ac:147: -1- m4_pattern_allow([^WRAPPER_NAME$])
-m4trace:configure.ac:148: -1- m4_pattern_allow([^WRAPPER_NAME$])
-m4trace:configure.ac:153: -1- m4_pattern_allow([^WRAPPER_GCC_NAME$])
-m4trace:configure.ac:158: -1- m4_pattern_allow([^WRAPPER_CC_NAME$])
-m4trace:configure.ac:163: -1- m4_pattern_allow([^WRAPPER_C99_NAME$])
-m4trace:configure.ac:168: -1- m4_pattern_allow([^WRAPPER_C89_NAME$])
-m4trace:configure.ac:173: -1- m4_pattern_allow([^WRAPPER_CPLUSPLUS_NAME$])
-m4trace:configure.ac:178: -1- m4_pattern_allow([^WRAPPER_GPLUSPLUS_NAME$])
-m4trace:configure.ac:182: -1- m4_pattern_allow([^WRAPPER_BUILD_ALIAS$])
-m4trace:configure.ac:183: -1- m4_pattern_allow([^WRAPPER_BUILD_ALIAS$])
-m4trace:configure.ac:190: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
+m4trace:configure.ac:90: -1- m4_pattern_allow([^LINKER_IS_SOLARIS_LD$])
+m4trace:configure.ac:113: -1- m4_pattern_allow([^WRAPPED_GCC_NAME$])
+m4trace:configure.ac:118: -1- m4_pattern_allow([^WRAPPED_C99_NAME$])
+m4trace:configure.ac:123: -1- m4_pattern_allow([^WRAPPED_C89_NAME$])
+m4trace:configure.ac:128: -1- m4_pattern_allow([^WRAPPED_CPLUSPLUS_NAME$])
+m4trace:configure.ac:133: -1- m4_pattern_allow([^WRAPPED_GPLUSPLUS_NAME$])
+m4trace:configure.ac:138: -1- m4_pattern_allow([^WRAPPED_GFORTRAN_NAME$])
+m4trace:configure.ac:153: -1- m4_pattern_allow([^WRAPPER_NAME$])
+m4trace:configure.ac:154: -1- m4_pattern_allow([^WRAPPER_NAME$])
+m4trace:configure.ac:159: -1- m4_pattern_allow([^WRAPPER_GCC_NAME$])
+m4trace:configure.ac:164: -1- m4_pattern_allow([^WRAPPER_CC_NAME$])
+m4trace:configure.ac:169: -1- m4_pattern_allow([^WRAPPER_C99_NAME$])
+m4trace:configure.ac:174: -1- m4_pattern_allow([^WRAPPER_C89_NAME$])
+m4trace:configure.ac:179: -1- m4_pattern_allow([^WRAPPER_CPLUSPLUS_NAME$])
+m4trace:configure.ac:184: -1- m4_pattern_allow([^WRAPPER_GPLUSPLUS_NAME$])
+m4trace:configure.ac:189: -1- m4_pattern_allow([^WRAPPER_GFORTRAN_NAME$])
+m4trace:configure.ac:193: -1- m4_pattern_allow([^WRAPPER_BUILD_ALIAS$])
+m4trace:configure.ac:194: -1- m4_pattern_allow([^WRAPPER_BUILD_ALIAS$])
+m4trace:configure.ac:201: -1- _m4_warn([obsolete], [The macro `AC_HELP_STRING' is obsolete.
 You should run autoupdate.], [../../lib/autoconf/general.m4:207: AC_HELP_STRING is expanded from...
 ../../lib/autoconf/general.m4:1481: AC_ARG_WITH is expanded from...
-configure.ac:190: the top level])
-m4trace:configure.ac:196: -1- m4_pattern_allow([^helpdir$])
-m4trace:configure.ac:204: -1- AM_CONDITIONAL([WANT_DOC], [test "x$wantdoc" != "xno"])
-m4trace:configure.ac:204: -1- m4_pattern_allow([^WANT_DOC_TRUE$])
-m4trace:configure.ac:204: -1- m4_pattern_allow([^WANT_DOC_FALSE$])
-m4trace:configure.ac:204: -1- _AM_SUBST_NOTMAKE([WANT_DOC_TRUE])
-m4trace:configure.ac:204: -1- _AM_SUBST_NOTMAKE([WANT_DOC_FALSE])
-m4trace:configure.ac:208: -1- m4_pattern_allow([^LIB@&t@OBJS$])
-m4trace:configure.ac:208: -1- m4_pattern_allow([^LTLIBOBJS$])
-m4trace:configure.ac:208: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
-m4trace:configure.ac:208: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
-m4trace:configure.ac:208: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
-m4trace:configure.ac:208: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
-m4trace:configure.ac:208: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
-m4trace:configure.ac:208: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
-m4trace:configure.ac:208: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
+configure.ac:201: the top level])
+m4trace:configure.ac:207: -1- m4_pattern_allow([^helpdir$])
+m4trace:configure.ac:215: -1- AM_CONDITIONAL([WANT_DOC], [test "x$wantdoc" != "xno"])
+m4trace:configure.ac:215: -1- m4_pattern_allow([^WANT_DOC_TRUE$])
+m4trace:configure.ac:215: -1- m4_pattern_allow([^WANT_DOC_FALSE$])
+m4trace:configure.ac:215: -1- _AM_SUBST_NOTMAKE([WANT_DOC_TRUE])
+m4trace:configure.ac:215: -1- _AM_SUBST_NOTMAKE([WANT_DOC_FALSE])
+m4trace:configure.ac:219: -1- m4_pattern_allow([^LIB@&t@OBJS$])
+m4trace:configure.ac:219: -1- m4_pattern_allow([^LTLIBOBJS$])
+m4trace:configure.ac:219: -1- AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])
+m4trace:configure.ac:219: -1- m4_pattern_allow([^am__EXEEXT_TRUE$])
+m4trace:configure.ac:219: -1- m4_pattern_allow([^am__EXEEXT_FALSE$])
+m4trace:configure.ac:219: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_TRUE])
+m4trace:configure.ac:219: -1- _AM_SUBST_NOTMAKE([am__EXEEXT_FALSE])
+m4trace:configure.ac:219: -1- _AC_AM_CONFIG_HEADER_HOOK(["$ac_file"])
+m4trace:configure.ac:219: -1- _AM_OUTPUT_DEPENDENCY_COMMANDS
 GREP
 CPP
 LN_S
+ac_ct_FC
+FCFLAGS
+FC
 am__fastdepCXX_FALSE
 am__fastdepCXX_TRUE
 CXXDEPMODE
 CXX
 CXXFLAGS
 CCC
+FC
+FCFLAGS
 CPP'
 
 
               you have headers in a nonstandard directory <include dir>
   CXX         C++ compiler command
   CXXFLAGS    C++ compiler flags
+  FC          Fortran compiler command
+  FCFLAGS     Fortran compiler flags
   CPP         C preprocessor
 
 Use these variables to override the choices made by `configure' or to help
 
 } # ac_fn_cxx_try_compile
 
+# ac_fn_fc_try_compile LINENO
+# ---------------------------
+# Try to compile conftest.$ac_ext, and return whether this succeeded.
+ac_fn_fc_try_compile ()
+{
+  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
+  rm -f conftest.$ac_objext
+  if { { ac_try="$ac_compile"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_compile") 2>conftest.err
+  ac_status=$?
+  if test -s conftest.err; then
+    grep -v '^ *+' conftest.err >conftest.er1
+    cat conftest.er1 >&5
+    mv -f conftest.er1 conftest.err
+  fi
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; } && {
+	 test -z "$ac_fc_werror_flag" ||
+	 test ! -s conftest.err
+       } && test -s conftest.$ac_objext; then :
+  ac_retval=0
+else
+  $as_echo "$as_me: failed program was:" >&5
+sed 's/^/| /' conftest.$ac_ext >&5
+
+	ac_retval=1
+fi
+  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
+  as_fn_set_status $ac_retval
+
+} # ac_fn_fc_try_compile
+
 # ac_fn_c_try_cpp LINENO
 # ----------------------
 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
 fi
 
 
+ac_ext=${ac_fc_srcext-f}
+ac_compile='$FC -c $FCFLAGS $ac_fcflags_srcext conftest.$ac_ext >&5'
+ac_link='$FC -o conftest$ac_exeext $FCFLAGS $LDFLAGS $ac_fcflags_srcext conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_fc_compiler_gnu
+if test -n "$ac_tool_prefix"; then
+  for ac_prog in gfortran
+  do
+    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
+set dummy $ac_tool_prefix$ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_FC+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$FC"; then
+  ac_cv_prog_FC="$FC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_FC="$ac_tool_prefix$ac_prog"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+FC=$ac_cv_prog_FC
+if test -n "$FC"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FC" >&5
+$as_echo "$FC" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+    test -n "$FC" && break
+  done
+fi
+if test -z "$FC"; then
+  ac_ct_FC=$FC
+  for ac_prog in gfortran
+do
+  # Extract the first word of "$ac_prog", so it can be a program name with args.
+set dummy $ac_prog; ac_word=$2
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
+$as_echo_n "checking for $ac_word... " >&6; }
+if ${ac_cv_prog_ac_ct_FC+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  if test -n "$ac_ct_FC"; then
+  ac_cv_prog_ac_ct_FC="$ac_ct_FC" # Let the user override the test.
+else
+as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+for as_dir in $PATH
+do
+  IFS=$as_save_IFS
+  test -z "$as_dir" && as_dir=.
+    for ac_exec_ext in '' $ac_executable_extensions; do
+  if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
+    ac_cv_prog_ac_ct_FC="$ac_prog"
+    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
+    break 2
+  fi
+done
+  done
+IFS=$as_save_IFS
+
+fi
+fi
+ac_ct_FC=$ac_cv_prog_ac_ct_FC
+if test -n "$ac_ct_FC"; then
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_FC" >&5
+$as_echo "$ac_ct_FC" >&6; }
+else
+  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
+$as_echo "no" >&6; }
+fi
+
+
+  test -n "$ac_ct_FC" && break
+done
+
+  if test "x$ac_ct_FC" = x; then
+    FC=""
+  else
+    case $cross_compiling:$ac_tool_warned in
+yes:)
+{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
+$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
+ac_tool_warned=yes ;;
+esac
+    FC=$ac_ct_FC
+  fi
+fi
+
+
+# Provide some information about the compiler.
+$as_echo "$as_me:${as_lineno-$LINENO}: checking for Fortran compiler version" >&5
+set X $ac_compile
+ac_compiler=$2
+for ac_option in --version -v -V -qversion; do
+  { { ac_try="$ac_compiler $ac_option >&5"
+case "(($ac_try" in
+  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
+  *) ac_try_echo=$ac_try;;
+esac
+eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
+$as_echo "$ac_try_echo"; } >&5
+  (eval "$ac_compiler $ac_option >&5") 2>conftest.err
+  ac_status=$?
+  if test -s conftest.err; then
+    sed '10a\
+... rest of stderr output deleted ...
+         10q' conftest.err >conftest.er1
+    cat conftest.er1 >&5
+  fi
+  rm -f conftest.er1 conftest.err
+  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
+  test $ac_status = 0; }
+done
+rm -f a.out
+
+# If we don't use `.F' as extension, the preprocessor is not run on the
+# input file.  (Note that this only needs to work for GNU compilers.)
+ac_save_ext=$ac_ext
+ac_ext=F
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Fortran compiler" >&5
+$as_echo_n "checking whether we are using the GNU Fortran compiler... " >&6; }
+if ${ac_cv_fc_compiler_gnu+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  cat > conftest.$ac_ext <<_ACEOF
+      program main
+#ifndef __GNUC__
+       choke me
+#endif
+
+      end
+_ACEOF
+if ac_fn_fc_try_compile "$LINENO"; then :
+  ac_compiler_gnu=yes
+else
+  ac_compiler_gnu=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+ac_cv_fc_compiler_gnu=$ac_compiler_gnu
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fc_compiler_gnu" >&5
+$as_echo "$ac_cv_fc_compiler_gnu" >&6; }
+ac_ext=$ac_save_ext
+ac_test_FCFLAGS=${FCFLAGS+set}
+ac_save_FCFLAGS=$FCFLAGS
+FCFLAGS=
+{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $FC accepts -g" >&5
+$as_echo_n "checking whether $FC accepts -g... " >&6; }
+if ${ac_cv_prog_fc_g+:} false; then :
+  $as_echo_n "(cached) " >&6
+else
+  FCFLAGS=-g
+cat > conftest.$ac_ext <<_ACEOF
+      program main
+
+      end
+_ACEOF
+if ac_fn_fc_try_compile "$LINENO"; then :
+  ac_cv_prog_fc_g=yes
+else
+  ac_cv_prog_fc_g=no
+fi
+rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
+
+fi
+{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_fc_g" >&5
+$as_echo "$ac_cv_prog_fc_g" >&6; }
+if test "$ac_test_FCFLAGS" = set; then
+  FCFLAGS=$ac_save_FCFLAGS
+elif test $ac_cv_prog_fc_g = yes; then
+  if test "x$ac_cv_fc_compiler_gnu" = xyes; then
+    FCFLAGS="-g -O2"
+  else
+    FCFLAGS="-g"
+  fi
+else
+  if test "x$ac_cv_fc_compiler_gnu" = xyes; then
+    FCFLAGS="-O2"
+  else
+    FCFLAGS=
+  fi
+fi
+
+if test $ac_compiler_gnu = yes; then
+  GFC=yes
+else
+  GFC=
+fi
+ac_ext=c
+ac_cpp='$CPP $CPPFLAGS'
+ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
+ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
+ac_compiler_gnu=$ac_cv_c_compiler_gnu
+
 ac_config_headers="$ac_config_headers src/config.h"
 
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
 _ACEOF
 
 
+WRAPPED_GFORTRAN_NAME=`echo 'gfortran' | sed $gcc_transform_name`
+
+cat >>confdefs.h <<_ACEOF
+#define WRAPPED_GFORTRAN_NAME "$WRAPPED_GFORTRAN_NAME"
+_ACEOF
+
+
 
 ##########################################################################
 ### Transform the superficial (wrapper) gcc names
 _ACEOF
 
 
+WRAPPER_GFORTRAN_NAME=`echo 'gfortran' | sed $program_transform_name_regex`
+
+cat >>confdefs.h <<_ACEOF
+#define WRAPPER_GFORTRAN_NAME "$WRAPPER_GFORTRAN_NAME"
+_ACEOF
+
+
 
 cat >>confdefs.h <<_ACEOF
 #define WRAPPER_BUILD_ALIAS "$build_alias"

File doc/Makefile.in

 ECHO_T = @ECHO_T@
 EGREP = @EGREP@
 EXEEXT = @EXEEXT@
+FC = @FC@
+FCFLAGS = @FCFLAGS@
 GREP = @GREP@
 INSTALL = @INSTALL@
 INSTALL_DATA = @INSTALL_DATA@
 abs_top_srcdir = @abs_top_srcdir@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
+ac_ct_FC = @ac_ct_FC@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@

File spkg/test_spkg.sh

 fi
 
 
-cd "$TOPDIR/sage"
+cd "$TOPDIR/spkg/sage"
 make distclean
+cp "$COMPILERWRAPPER_SPKG" spkg/standard/
+
+export SAGE_PARALLEL_SPKG_BUILD=yes
+if [ -d /usr/lib64/atlas ] ; then
+    export SAGE_ATLAS_LIB=/usr/lib64/atlas
+fi
+
+make build

File src/Makefile.in

 ECHO_T = @ECHO_T@
 EGREP = @EGREP@
 EXEEXT = @EXEEXT@
+FC = @FC@
+FCFLAGS = @FCFLAGS@
 GREP = @GREP@
 INSTALL = @INSTALL@
 INSTALL_DATA = @INSTALL_DATA@
 abs_top_srcdir = @abs_top_srcdir@
 ac_ct_CC = @ac_ct_CC@
 ac_ct_CXX = @ac_ct_CXX@
+ac_ct_FC = @ac_ct_FC@
 am__include = @am__include@
 am__leading_dot = @am__leading_dot@
 am__quote = @am__quote@

File src/arguments.cc

 #include <cassert>
 #include <sstream>
 #include <iterator>
+#include <algorithm>
 #include "arguments.hh"
 #include "path.hh"
 #include "config.h"
   case WRAPPED_C89:       cmd = path(CC_PATH_PREFIX)/WRAPPED_C89_NAME;  break;
   case WRAPPED_CPLUSPLUS: cmd = path(CC_PATH_PREFIX)/WRAPPED_CPLUSPLUS_NAME;  break;
   case WRAPPED_GPLUSPLUS: cmd = path(CC_PATH_PREFIX)/WRAPPED_GPLUSPLUS_NAME;  break;
-  case WRAPPED_GFORTRAN: cmd = path(CC_PATH_PREFIX)/WRAPPED_GFORTRAN_NAME;  break;
+  case WRAPPED_GFORTRAN:  cmd = path(CC_PATH_PREFIX)/WRAPPED_GFORTRAN_NAME;  break;
   case WRAPPED_LD:        cmd = path(LD_PATH_PREFIX)/"ld";    break;
 #endif // __GNUC__
 
 {
   return size()==1 and front()[0]=='-';
 }
+
+bool Arguments::contain(const std::string& arg) const
+{
+  return std::find(begin(), end(), arg) != end();
+}

File src/arguments.hh

   
   // Return whether the arguments consist of a single "-option"
   bool is_single_option() const;
+
+  // Return whether the arguments contains the given one
+  bool contain(const std::string& arg) const;
   
   friend std::ostream& operator << (std::ostream& out, const Arguments& arg);
   std::string join(const std::string& delimiter = std::string(" ")) const;

File src/wrapper.cc

 #include "path.hh"
 #include "fixes.hh"
 #include "install.hh"
+#include "config.h"
 
 using std::cout;
 using std::endl;
        << "commands with some extra arguments." << endl
        << "Use 'wrapper <on|off>' to install/uninstall the symlinks" << endl
        << "appropriate for your compiler." << endl;
+  
+  cout << "WRAPPED_GCC" << " = " << path(CC_PATH_PREFIX)/WRAPPED_GCC_NAME << endl;
+  cout << "WRAPPED_CC " << " = " << path(CC_PATH_PREFIX)/WRAPPED_GCC_NAME << endl;  
+  cout << "WRAPPED_C99" << " = " << path(CC_PATH_PREFIX)/WRAPPED_C99_NAME << endl;
+  cout << "WRAPPED_C89" << " = " << path(CC_PATH_PREFIX)/WRAPPED_C89_NAME << endl;
+  cout << "WRAPPED_CPLUSPLUS" << " = " << path(CC_PATH_PREFIX)/WRAPPED_CPLUSPLUS_NAME << endl;
+  cout << "WRAPPED_GPLUSPLUS" << " = " << path(CC_PATH_PREFIX)/WRAPPED_GPLUSPLUS_NAME << endl;
+  cout << "WRAPPED_GFORTRAN " << " = " << path(CC_PATH_PREFIX)/WRAPPED_GFORTRAN_NAME << endl;
+  cout << "WRAPPED_LD " << " = " << path(LD_PATH_PREFIX)/"ld" << endl;
+
   test();
 }
 
     return 1;
   }
 
-  if (args.empty() or args.is_single_option() or
-		  (prog == WRAPPED_GFORTRAN and
-		   std::find(args.begin(), args.end(), "-v") != args.end())) {
+  if (args.empty() or 
+      args.is_single_option() or
+      (prog == WRAPPED_GFORTRAN and args.contain("-v"))) {
     // special case: don't add anything to empty argument list or
     // single "-option", probably version detection
     run_wrapped(prog, args);