source: trunk/essentials/sys-devel/automake-1.4/tests/pluseq3.test

Last change on this file was 3124, checked in by bird, 18 years ago

automake 1.4-p6

File size: 365 bytes
Line 
1#! /bin/sh
2
3# Another `+=' test with conditionals.
4
5. $srcdir/defs || exit 1
6
7echo 'AM_CONDITIONAL(CHECK, true)' >> configure.in
8
9cat > Makefile.am << 'END'
10
11if CHECK
12data_DATA = zar
13endif
14
15if CHECK
16data_DATA += \
17 doz
18else
19data_DATA += dog
20endif
21
22END
23
24: > zar
25: > doz
26: > dog
27
28$AUTOMAKE || exit 1
29grep '= zar *doz' Makefile.in || exit 1
30fgrep '= dog' Makefile.in
Note: See TracBrowser for help on using the repository browser.