> | configure:1039: /usr/absoft/bin/f77 -o conftest   conftest.f  >&5
> | FORTRAN 77 Compiler 4.5, Copyright (c) 1987-1999, Absoft Corp.
> 
> Hm, are you telling us that your compiler is always outputting
> something when it compiles?

Yes.  I get tons of them during a make command.

$ /usr/absoft/bin/f77 -o conftest conftest.f 2>/dev/null                   
FORTRAN 77 Compiler 4.5, Copyright (c) 1987-1999, Absoft Corp.
$ /usr/absoft/bin/f77 -o conftest conftest.f >/dev/null

> Also, what the heck is doing this:
> 
> | configure:1069: /usr/absoft/bin/f77 -E conftest.fpp
> | conftest.fpp:2: 
> |      yes
> |      ^
> | Non-numeric character at (^) in label field [info -f g77 M LEX]
> | configure:1075: result: no
> 
> in the log file?  The `[info -f g77 M LEX]' seems to indicate that,
> yes, we are running g77!!!

According to their documentation, .fpp is not a valid extension, so
maybe they default to g77 in this case.  They use .F for preprocessed
FORTRAN.  If I use .F, then I get a usage error (for -E).

I use this macro to determine if I am using the Absoft compiler:

AC_DEFUN(APS_PROG_F77_ABSOFT,
[AC_CACHE_CHECK(whether we are using ABSOFT Fortran 77, ac_cv_prog_f77_absoft,
[cat > conftest.f <<EOF
       program test
       end
EOF
if AC_TRY_COMMAND($F77 conftest.f) | egrep Absoft >/dev/null 2>&1; then
    ac_cv_prog_f77_absoft=yes
else
    ac_cv_prog_f77_absoft=no
fi
rm -f a.out
])])

> Who is Absoft?

http://www.absoft.com/

Reply via email to