typo + new comment
[automake.git] / tests / target.test
blob55862398f643a8a26d90add7d230ac08cc803c6d
1 #! /bin/sh
3 # Test for a bug where target names and variable names are treated alike.
4 # Bug from François Pinard.
6 . $srcdir/defs || exit 1
8 echo AC_PROG_CC >> configure.in
10 cat > Makefile.am << 'END'
11 bin_PROGRAMS = consud
12 ## Note next line is target, not variable.
13 consud_SOURCES: consud.c
14 END
16 echo > consud.c
18 $ACLOCAL || exit 1
19 $AUTOMAKE && exit 1
20 exit 0