2 # Copyright (C) 2001, 2002, 2003, 2010, 2011 Free Software Foundation,
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 2, 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 stamp-h* files are created where we expect
21 cat >> configure.in << END
24 3.h:sdir1/config1.hin])
25 # AM_CONFIG_HEADER and AC_CONFIG_HEADERS should be synonyms.
26 AC_CONFIG_HEADERS([sdir1/4.h
28 sdir1/6.h:sdir1/config1.hin
29 sdir1/7.h:sdir2/config2.hin])
50 test -f sdir1/stamp-h4
51 test -f sdir1/stamp-h5
52 test -f sdir1/stamp-h6
53 test -f sdir1/stamp-h7
55 # Make sure `./config.status foo' creates the right stamp file.
56 # Report from Sander Niemeijer.
61 ./config.status sdir1/7.h 2.h sdir1/4.h
65 test -f sdir1/stamp-h4
66 test ! -f sdir1/stamp-h5
67 test ! -f sdir1/stamp-h6
68 test -f sdir1/stamp-h7