* depcomp (ddashmd): Removed case.
[automake.git] / tests / flibs.test
bloba4978f959c1ad0315cbe1fcbbf132a6c26669038
1 #! /bin/sh
3 # Make sure `AC_F77_LIBRARY_LDFLAGS' works properly.
4 # Matthew D. Langston <langston@SLAC.Stanford.EDU>
6 . $srcdir/defs || exit 1
8 cat >> configure.in << 'END'
9 AC_PROG_F77
10 AC_F77_LIBRARY_LDFLAGS
11 END
13 # Tue Aug 11 09:50:48 1998 Matthew D. Langston <langston@SLAC.Stanford.EDU>
15 # This test currently fails with automake v. 1.3 since automake assumes
16 # that elements of `bin_PROGRAMS' (e.g. zardoz) without a corresponding
17 # `_SOURCES' (e.g. zardoz_SOURCES) should be compiled from `zardoz.c'
18 # whether or not `zardoz.c' actually exists. For example, even if the
19 # file `zardoz.c' doesn't exist but the file `zardoz.f' does exist, this
20 # tests would still fail.
22 # Therefore, for now I have put in the line `zardoz_SOURCES = zardoz.f'
23 # (see below) so that automake's top-level `make check' won't fail, but
24 # this line should be removed once automake handles this situation
25 # correctly.
27 cat > Makefile.am <<'END'
28 bin_PROGRAMS = zardoz
29 zardoz_SOURCES = zardoz.f
30 zardoz_LDADD = @FLIBS@
31 END
33 : > zardoz.f
35 $AUTOMAKE || exit 1
37 grep '@FLIBS@' Makefile.in