From Nicolas Joly:
[automake.git] / tests / recurs.test
blob39b1b9cc6d7618f7d61e168914c6a3368c3368a5
1 #! /bin/sh
3 # Test to make sure recursive variable definitions die.
5 . $srcdir/defs || exit 1
7 cat > configure.in << 'END'
8 AM_INIT_AUTOMAKE(nonesuch, nonesuch)
9 AC_PROG_CC
10 AM_CONDITIONAL(ONE, true)
11 AM_CONDITIONAL(TWO, false)
12 AC_OUTPUT(Makefile)
13 END
15 cat > Makefile.am << 'END'
16 bin_PROGRAMS = $(foo)
17 foo = $(bin_PROGRAMS)
18 END
20 $ACLOCAL || exit 1
21 $AUTOMAKE && exit 1
22 exit 0