typo + new comment
[automake.git] / tests / subst.test
blob42098ecbbd262c874cbec924149a445f1ae901ea
1 #! /bin/sh
3 # Test that AC_SUBST($1) does something sensible. From Ulrich
4 # Drepper.
6 . $srcdir/defs || exit 1
8 cat >> configure.in << 'END'
9 AC_SUBST($1)
10 AC_SUBST([$]$1) dnl this is the actual invocation that was used
11 END
13 : > Makefile.am
15 $AUTOMAKE || exit 1
16 grep '^\$1' Makefile.in && exit 1
17 exit 0