typo + new comment
[automake.git] / tests / canon5.test
blobb05ced44589bbba09988d8eb02b57c8d40a248f3
1 #! /bin/sh
3 # Test to make sure that we allow variable names starting in
4 # non-letters.
6 . $srcdir/defs || exit 1
8 echo AC_PROG_CC >> configure.in
10 cat > Makefile.am << 'END'
11 bin_PROGRAMS = 123test
12 123test_SOURCES = 123.c
13 END
15 $ACLOCAL || exit 1
16 $AUTOMAKE || exit 1
18 cat > Makefile.am << 'END'
19 bin_PROGRAMS = _foo
20 _foo_SOURCES = foo.c
21 END
23 $AUTOMAKE || exit 1
25 cat > Makefile.am << 'END'
26 bin_PROGRAMS = ,foo
27 ,foo_SOURCES = foo.c
28 END
30 $AUTOMAKE && exit 1
32 cat > Makefile.am << 'END'
33 bin_PROGRAMS = ,foo
34 _foo_SOURCES = foo.c
35 END
37 $AUTOMAKE