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 |
|
]]) |