| Line | |
|---|
| 1 | #! /bin/sh
|
|---|
| 2 |
|
|---|
| 3 | # Make sure programs with only Fortran 77 source are handled properly.
|
|---|
| 4 | # Matthew D. Langston <[email protected]>
|
|---|
| 5 |
|
|---|
| 6 | . $srcdir/defs || exit 1
|
|---|
| 7 |
|
|---|
| 8 | cat >> configure.in << 'END'
|
|---|
| 9 | AC_PROG_F77
|
|---|
| 10 | END
|
|---|
| 11 |
|
|---|
| 12 | # Tue Aug 11 09:50:48 1998 Matthew D. Langston <[email protected]>
|
|---|
| 13 | #
|
|---|
| 14 | # This test currently fails with automake v. 1.3 since automake assumes
|
|---|
| 15 | # that elements of `bin_PROGRAMS' (e.g. zardoz) without a corresponding
|
|---|
| 16 | # `_SOURCES' (e.g. zardoz_SOURCES) should be compiled from `zardoz.c'
|
|---|
| 17 | # whether or not `zardoz.c' actually exists. For example, even if the
|
|---|
| 18 | # file `zardoz.c' doesn't exist but the file `zardoz.f' does exist, this
|
|---|
| 19 | # tests would still fail.
|
|---|
| 20 | #
|
|---|
| 21 | # Therefore, for now I have put in the line `zardoz_SOURCES = zardoz.f'
|
|---|
| 22 | # (see below) so that automake's top-level `make check' won't fail, but
|
|---|
| 23 | # this line should be removed once automake handles this situation
|
|---|
| 24 | # correctly.
|
|---|
| 25 |
|
|---|
| 26 | cat > Makefile.am <<'END'
|
|---|
| 27 | bin_PROGRAMS = zardoz
|
|---|
| 28 | zardoz_SOURCES = zardoz.f
|
|---|
| 29 | END
|
|---|
| 30 |
|
|---|
| 31 | : > zardoz.f
|
|---|
| 32 |
|
|---|
| 33 | $AUTOMAKE || exit 1
|
|---|
| 34 |
|
|---|
| 35 | grep 'zardoz.f' Makefile.in
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.