I am using the Absoft F77 Compiler for Linux since it can handle Fortran
structures and I've run into a problem using AC_F77_LIBRARY_LDFLAGS in the
CVS autoconf as of June 6th. I had used an earlier CVS version from around
last Decemeber which worked fine, but I don't have that copy anymore... so
I've tested against autoconf on Mandrake 7.1 which works. From the ChangeLog,
there were several changes to this macro in Feb, Mar, and May. Ideas?
Paul
------------- Mandrake 7.0 -----------------
$ which autoconf
/usr/bin/autoconf
$ autoconf --version
Autoconf version 2.14.1
$ more configure.in
AC_INIT(junk.c)
AC_PROG_CC
AC_PROG_F77
AC_F77_LIBRARY_LDFLAGS
echo "FLIBS = $FLIBS"
AC_OUTPUT(Makefile)
$ F77=/usr/absoft/bin/f77 ../configure
creating cache ./config.cache
checking for gcc... gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking whether the Fortran 77 compiler (/usr/absoft/bin/f77 ) works... yes
checking whether the Fortran 77 compiler (/usr/absoft/bin/f77 ) is a
cross-compiler... no
checking whether we are using GNU Fortran 77... no
checking host system type... i686-pc-linux-gnu
checking for Fortran 77 libraries... -L/usr/absoft/lib -lfio -lf77math
FLIBS = -L/usr/absoft/lib -lfio -lf77math
updating cache ./config.cache
creating ./config.status
creating Makefile
------------- CVS Version -----------------
$ which autoconf
/usr/local/bin/autoconf
$ autoconf --version
autoconf (GNU autoconf) 2.14a
Written by David J. MacKenzie.
Copyright (C) 1992, 93, 94, 96, 99, 2000 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ more configure.in
AC_INIT(junk.c)
AC_PROG_CC
AC_PROG_F77
AC_F77_LIBRARY_LDFLAGS
echo "FLIBS = $FLIBS"
AC_OUTPUT(Makefile)
$ F77=/usr/absoft/bin/f77 ../configure
checking for gcc... gcc
checking whether the C compiler works... yes
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for EMX OS/2 environment... no
checking for executable suffix...
checking for object suffix... o
checking for g77... /usr/absoft/bin/f77
checking whether the Fortran 77 compiler works... yes
checking whether we are using GNU Fortran 77... no
checking whether /usr/absoft/bin/f77 accepts -g... no
checking for Fortran 77 libraries... /usr/absoft/bin/f77fe -v -N20 conftest.f
FORTRAN 77 Compiler 4.5, Copyright (c) 1987-1999, Absoft Corp.
conftest.f:
Parsing MAIN :
Generating Intermediate Code : 1
/usr/absoft/bin/ibe -o conftest.s -N31 < conftest.int
as -o conftest.o conftest.s
cc conftest.o -L/usr/absoft/lib -o conftest -lfio -lf77math -lc
rm conftest.o
FLIBS =
creating ./config.status
creating Makefile