TIVI-153: Adding automake14 as dep for iputils package
[profile/ivi/automake14.git] / tests / target.test
1 #! /bin/sh
2
3 # Test for a bug where target names and variable names are treated alike.
4 # Bug from François Pinard.
5
6 . $srcdir/defs || exit 1
7
8 echo AC_PROG_CC >> configure.in
9
10 cat > Makefile.am << 'END'
11 bin_PROGRAMS = consud
12 ## Note next line is target, not variable.
13 consud_SOURCES: consud.c
14 END
15
16 echo > consud.c
17
18 $AUTOMAKE && exit 1
19 exit 0