Reword the copyright notices to match what's suggested in GPLv3.
[platform/upstream/automake.git] / tests / pr9.test
1 #! /bin/sh
2 # Copyright (C) 1999, 2001, 2002  Free Software Foundation, Inc.
3 #
4 # This program is free software; you can redistribute it and/or modify
5 # it under the terms of the GNU General Public License as published by
6 # the Free Software Foundation; either version 3, or (at your option)
7 # any later version.
8 #
9 # This program is distributed in the hope that it will be useful,
10 # but WITHOUT ANY WARRANTY; without even the implied warranty of
11 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 # GNU General Public License for more details.
13 #
14 # You should have received a copy of the GNU General Public License
15 # along with this program.  If not, see <http://www.gnu.org/licenses/>.
16
17 # Test for bug in PR 9.
18
19 required=gzip
20 . ./defs || exit 1
21
22 cat > configure.in << 'END'
23 AC_INIT(Makefile.am)
24 AC_CONFIG_AUX_DIR(support)
25 AM_INIT_AUTOMAKE(pr9, 0)
26 AC_OUTPUT(Makefile)
27 END
28
29 : > Makefile.am
30
31 mkdir support
32
33 $ACLOCAL || exit 1
34
35 $AUTOCONF || exit 1
36 $AUTOMAKE -a -c || exit 1
37 ./configure || exit 1
38 $MAKE || exit 1
39 $MAKE distcheck || exit 1
40
41 gunzip pr9-0.tar.gz || exit 1
42
43 tar tf pr9-0.tar | $FGREP support