* automake.texi (Macros): Document AM_PROG_AS.
[automake.git] / tests / pr2.test
blob85f1bb46e022f348206da9286104a8615608f292
1 #! /bin/sh
3 # Test for bug reported in PR 2.
5 . $srcdir/defs || exit 1
7 cat > configure.in << 'END'
8 AM_INIT_AUTOMAKE(nonesuch, nonesuch)
9 PACKAGE=nonesuch
10 VERSION=nonesuch
11 AC_ARG_PROGRAM
12 AC_PROG_MAKE_SET
13 AC_PROG_INSTALL
14 AC_OUTPUT(README.foo:templ/README.foo.in Makefile)
15 END
17 : > Makefile.am
19 mkdir templ
20 : > templ/README.foo.in
22 $AUTOMAKE || exit 1
24 # Look for mkinstalldirs invocation for the templ directory.
25 # We use the `[^/]' to avoid matching `templ/README.foo.in'.
26 egrep 'mkinstalldirs.*templ([^/]|$)' Makefile.in