TIVI-153: Adding automake14 as dep for iputils package
[profile/ivi/automake14.git] / tests / fnoc.test
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
9 cat >> configure.in << 'END'
10 AC_PROG_F77
11 END
12
13 cat > Makefile.am << 'END'
14 sbin_PROGRAMS = anonymous
15 anonymous_SOURCES = doe.f jane.f
16 END
17
18 : > doe.f
19 : > jane.f
20
21 $AUTOMAKE || exit 1
22
23 grep '[^F]CC' Makefile.in | grep -v MKDEP && exit 1
24 exit 0