(AC_FC_FREEFORM): Try -ffree-form too,

for the benefit of g77 3.2.  Fix suggested by Steven G. Johnson.
This commit is contained in:
Paul Eggert 2003-09-05 22:55:40 +00:00
parent eeb3cbd9a6
commit 1ecafc3dc7

View File

@ -1147,7 +1147,7 @@ AC_DEFUN_ONCE([AC_FC_FREEFORM],
[AC_LANG_PUSH(Fortran)dnl [AC_LANG_PUSH(Fortran)dnl
ac_cv_fc_freeform=unknown ac_cv_fc_freeform=unknown
ac_fc_freeform_FCFLAGS_save=$FCFLAGS ac_fc_freeform_FCFLAGS_save=$FCFLAGS
for ac_flag in none -free -freeform -qfree -Mfree -Mfreeform -FR; do for ac_flag in none -free -freeform -ffree-form -qfree -Mfree -Mfreeform -FR; do
test "x$ac_flag" != xnone && FCFLAGS="$ac_fc_freeform_FCFLAGS_save $ac_flag" test "x$ac_flag" != xnone && FCFLAGS="$ac_fc_freeform_FCFLAGS_save $ac_flag"
AC_COMPILE_IFELSE([ AC_COMPILE_IFELSE([
program freeform program freeform