* depcomp (ddashmd): Removed case.
[automake.git] / tests / colon7.test
bloba491dcdcfb57a3ac2f7730c703f968c7daf49946
1 #! /bin/sh
3 # Another test for a failing ":" in AC_OUTPUT. Report from Maciej
4 # Stachowiak.
6 . $srcdir/defs || exit 1
8 cat > configure.in << 'END'
9 AM_INIT_AUTOMAKE(nonesuch, nonesuch)
10 PACKAGE=nonesuch
11 VERSION=nonesuch
12 AC_ARG_PROGRAM
13 AC_PROG_MAKE_SET
14 AC_PROG_INSTALL
15 AC_OUTPUT(subdir/bar:subdir/foo \
16 Makefile \
17 subdir/Makefile
19 END
21 : > Makefile.am
23 mkdir subdir
24 : > subdir/Makefile.am
25 : > subdir/foo
27 $AUTOMAKE || exit 1
29 # shouldn't have any bar.in
30 grep 'bar.in' subdir/Makefile.in && exit 1
32 # DIST_COMMON should have foo, not subdir/foo
33 grep 'DIST_COMMON.*subdir/foo' subdir/Makefile.in && exit 1
35 exit 0