2 # Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003
3 # Free Software Foundation, Inc.
5 # This program is free software; you can redistribute it and/or modify
6 # it under the terms of the GNU General Public License as published by
7 # the Free Software Foundation; either version 3, or (at your option)
10 # This program is distributed in the hope that it will be useful,
11 # but WITHOUT ANY WARRANTY; without even the implied warranty of
12 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 # GNU General Public License for more details.
15 # You should have received a copy of the GNU General Public License
16 # along with this program. If not, see <http://www.gnu.org/licenses/>.
18 # Make sure ":" works with files automake generates.
19 # This test is for multiple ":"s.
25 cat > configure.
in << 'END'
27 AM_INIT_AUTOMAKE
(nonesuch
, nonesuch
)
28 AC_OUTPUT
(Makefile
:zardoz.
in:two.
in:three.
in)
38 # We actually check several things here.
39 # Automake should have created zardoz.in.
42 # The generated file should refer to zardoz.in and zardoz.am, but
43 # never just "zardoz".
45 grep zardoz zardoz.
in |
$FGREP -v 'zardoz.in' |
$FGREP -v 'zardoz.am' > O ||
:
46 # We cat the output file so we see in when verbose.
50 # Makefile should depend on two.in.
52 grep '^Makefile:.* \$(srcdir)/two.in' zardoz.
in
55 grep '^Makefile:.* \$(srcdir)/three.in' zardoz.
in