Fix for PR automake/14:
[automake.git] / tests / cond8.test
blob43deacd18a93812b63e164e755abbad0638fd950
1 #! /bin/sh
3 # Test to make sure _PROGRAMS conditionals can be written in a useful
4 # way.
6 . $srcdir/defs || exit 1
8 echo 'AC_PROG_CC' >> configure.in
9 echo 'AM_CONDITIONAL(X, false)' >> configure.in
11 cat > Makefile.am << 'END'
12 if X
13 bin_PROGRAMS = x y
14 else
15 noinst_PROGRAMS = x y
16 endif
17 END
19 $AUTOMAKE