TIVI-153: Adding automake14 as dep for iputils package
[profile/ivi/automake14.git] / tests / pluseq3.test
1 #! /bin/sh
2
3 # Another `+=' test with conditionals.
4
5 . $srcdir/defs || exit 1
6
7 echo 'AM_CONDITIONAL(CHECK, true)' >> configure.in
8
9 cat > Makefile.am << 'END'
10
11 if CHECK
12 data_DATA = zar
13 endif
14
15 if CHECK
16 data_DATA += \
17  doz
18 else
19 data_DATA += dog
20 endif
21
22 END
23
24 : > zar
25 : > doz
26 : > dog
27
28 $AUTOMAKE || exit 1
29 grep '= zar  *doz' Makefile.in || exit 1
30 fgrep '= dog' Makefile.in