[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Update documentation for AC_FC_LINE_LENGTH compiler switches.
From: |
Ralf Wildenhues |
Subject: |
Re: Update documentation for AC_FC_LINE_LENGTH compiler switches. |
Date: |
Sun, 27 Feb 2011 17:50:51 +0100 |
User-agent: |
Mutt/1.5.20 (2010-08-04) |
* Ralf Wildenhues wrote on Sun, Feb 27, 2011 at 05:27:42PM CET:
> I'll push this along the other commits once approved.
> (Rebasing and reordering the patches is a bit awkward,
> as the patches introducing new macros all append to the
> same file.)
Never mind, I meant to merge another bit in this patch:
Update AC_FC_LINE_LENGTH compiler switches.
* lib/autoconf/fortran.m4 (AC_FC_LINE_LENGTH): Document NAGware
switch. Update Absoft switches.
diff --git a/lib/autoconf/fortran.m4 b/lib/autoconf/fortran.m4
index 416cf56..104ebe7 100644
--- a/lib/autoconf/fortran.m4
+++ b/lib/autoconf/fortran.m4
@@ -1303,11 +1303,12 @@ AC_LANG_POP([Fortran])dnl
# accepts that as well with an optional parameter and
# doesn't fail but only warns about unknown arguments.
# -extend_source: SGI compiler
-# -W NN (132, 80, 72): Absoft Fortran
+# -W, -WNN (132, 80, 72): Absoft Fortran
# +extend_source: HP Fortran (254 in either form, default is 72 fixed,
# 132 free)
# -wide: Lahey/Fujitsu Fortran (255 cols in fixed form)
# -e: Sun Fortran compiler (132 characters)
+# -132: NAGWare
AC_DEFUN_ONCE([AC_FC_LINE_LENGTH],
[AC_LANG_PUSH([Fortran])dnl
m4_case(m4_default([$1], [132]),
@@ -1336,7 +1337,7 @@ for ac_flag in none \
-ffixed-line-length-$ac_fc_line_len \
-qfixed=$ac_fc_line_len -Mextend \
-$ac_fc_line_len -extend_source \
- "-W $ac_fc_line_len" +extend_source -wide -e
+ -W$ac_fc_line_len -W +extend_source -wide -e
do
test "x$ac_flag" != xnone && FCFLAGS="$ac_fc_line_length_FCFLAGS_save
$ac_flag"
AC_COMPILE_IFELSE([[$ac_fc_line_length_test