Author :
Tom Tromey
Date :
1999-01-06 13:01:38
Hash :d0e49df5 Message :Fri Dec 11 10:20:42 1998 Matthew D. Langston <langston@SLAC.Stanford.EDU>
* compile_f_c_cxx.test: Change to use F77 and F77LINK instead of
FC and FLINK, respectively.
* flibs.test: same
* fnoc.test: same
* fo.test: same
* fonly.test: same
* link_f_c.test: same
* link_f_c_cxx.test: same
* link_f_cxx.test: same
* link_f_only.test: same
Fri Dec 11 10:23:17 1998 Matthew D. Langston <langston@SLAC.Stanford.EDU>
* automake.in, automake.texi: Change all of the Fortran 77 code to
use the new `F77' prefix instead of the older `FC' prefix.
Specifically this changed FC, FCOMPILE, LTFCOMPILE, FLINK and FLD
to F77, F77COMPILE, LTF77COMPILE, F77LINK and F77LD, respectively.
tests/compile_f_c_cxx.test
#! /bin/sh
# Test to make sure rules to invoke all compilers are selected with
# mixed source objects.
# Matthew D. Langston <langston@SLAC.Stanford.EDU>
. $srcdir/defs || exit 1
cat >> configure.in << 'END'
AC_PROG_CC
AC_PROG_CXX
AC_PROG_F77
AC_F77_LIBRARY_LDFLAGS
END
cat > Makefile.am << 'END'
bin_PROGRAMS = foo
foo_SOURCES = foo.f bar.c baz.cc
foo_LDADD = @FLIBS@
END
: > foo.f
: > bar.c
: > baz.cc
$AUTOMAKE || exit 1
# Look for the macros at the beginning of rules. Be careful, as there
# are literal tabs at the beginning of the search strings.
grep ' \$(COMPILE)' Makefile.in || exit 1
grep ' \$(CXXCOMPILE)' Makefile.in || exit 1
grep ' \$(F77COMPILE)' Makefile.in || exit 1
exit 0