/[autoconf]/autoconf/tests/fortran.at
ViewVC logotype

Diff of /autoconf/tests/fortran.at

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by akim, Mon Jun 23 11:11:42 2003 UTC revision 1.3 by akim, Wed Sep 10 16:49:46 2003 UTC
# Line 48  else Line 48  else
48    # Has not.    # Has not.
49    test "$G77" = yes &&    test "$G77" = yes &&
50      AC_MSG_ERROR([incorrectly recognized a GNU Fortran 77 compiler])      AC_MSG_ERROR([incorrectly recognized a GNU Fortran 77 compiler])
51  fi]])  fi
52    
53    # No Fortran compiler is known not to support "*.f".
54    AC_FC_SRCEXT([f])
55    
56    # GNU Fortran is known to support freeform.
57    AC_FC_FREEFORM([],
58                   [AC_MSG_WARN([Fortran does not accept free-form source])])
59    if test $G77 = yes; then
60      case $FCFLAGS in
61       *-ffree-form*) ;;
62       *) AC_MSG_ERROR([failed to recognize G77's -ffree-form option.]);;
63      esac
64    fi
65    ]])

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26