source: trunk/essentials/sys-devel/automake-1.4/tests/fnoc.test

Last change on this file was 3124, checked in by bird, 18 years ago

automake 1.4-p6

File size: 411 bytes
Line 
1#! /bin/sh
2
3# Test to make sure that pure Fortran 77 sources don't include
4# C-specific code.
5# Matthew D. Langston <langston@SLAC.Stanford.EDU>
6
7. $srcdir/defs || exit 1
8
9cat >> configure.in << 'END'
10AC_PROG_F77
11END
12
13cat > Makefile.am << 'END'
14sbin_PROGRAMS = anonymous
15anonymous_SOURCES = doe.f jane.f
16END
17
18: > doe.f
19: > jane.f
20
21$AUTOMAKE || exit 1
22
23grep '[^F]CC' Makefile.in | grep -v MKDEP && exit 1
24exit 0
Note: See TracBrowser for help on using the repository browser.