clean fixlet
[automake.git] / tests / ansi2.test
blobae845594c3ccb965a706695c4bb6837cf5fe5b50
1 #! /bin/sh
3 # Test to make sure ansi2knr built at the right time.
5 . $srcdir/defs || exit 1
7 cat > Makefile.am << 'END'
8 AUTOMAKE_OPTIONS = ansi2knr
9 bin_PROGRAMS = joe
10 END
12 cat >> configure.in << 'END'
13 AC_PROG_CC
14 AM_C_PROTOTYPES
15 END
17 : > ansi2knr.c
18 : > ansi2knr.1
20 $AUTOMAKE || exit 1
22 grep 'all:.*ANSI2KNR' Makefile.in