Clarify overriding of `*_DEPENDENCIES' in LIBOBJS node.
[automake/ericb.git] / tests / pr9.test
blobfa72ad1ec5ad2e96946b44858f5d756fd4b61155
1 #! /bin/sh
2 # Copyright (C) 1999, 2001, 2002 Free Software Foundation, Inc.
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.
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.
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/>.
17 # Test for bug in PR 9.
19 required=gzip
20 . ./defs || Exit 1
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
29 : > Makefile.am
31 mkdir support
33 $ACLOCAL || Exit 1
35 $AUTOCONF || Exit 1
36 $AUTOMAKE -a -c || Exit 1
37 ./configure || Exit 1
38 $MAKE || Exit 1
39 $MAKE distcheck || Exit 1
41 gunzip pr9-0.tar.gz || Exit 1
43 tar tf pr9-0.tar | $FGREP support