]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
(AC_FC_FREEFORM): Try -ffree-form too,
authorPaul Eggert <eggert@cs.ucla.edu>
Fri, 5 Sep 2003 22:55:40 +0000 (22:55 +0000)
committerPaul Eggert <eggert@cs.ucla.edu>
Fri, 5 Sep 2003 22:55:40 +0000 (22:55 +0000)
for the benefit of g77 3.2.  Fix suggested by Steven G. Johnson.

lib/autoconf/fortran.m4

index 802dd5b88aade680dc06fb8cbd702396379a9201..6492d3a42207029909949159213f865ce0016c6c 100644 (file)
@@ -1147,7 +1147,7 @@ AC_DEFUN_ONCE([AC_FC_FREEFORM],
 [AC_LANG_PUSH(Fortran)dnl
 ac_cv_fc_freeform=unknown
 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"
   AC_COMPILE_IFELSE([
   program freeform