Line | |
---|
1 | #! /bin/sh
|
---|
2 |
|
---|
3 | # Another test to make sure stamp files created correctly.
|
---|
4 | # Report from Erez Zadok.
|
---|
5 |
|
---|
6 | . $srcdir/defs || exit 1
|
---|
7 |
|
---|
8 | cat > configure.in << 'END'
|
---|
9 | PACKAGE=nonesuch
|
---|
10 | VERSION=nonesuch
|
---|
11 | AC_ARG_PROGRAM
|
---|
12 | AC_PROG_INSTALL
|
---|
13 | AM_CONFIG_HEADER(d1/config.h:d2/config.h.in)
|
---|
14 | AC_OUTPUT(Makefile d1/Makefile)
|
---|
15 | END
|
---|
16 |
|
---|
17 | : > Makefile.am
|
---|
18 | : > acconfig.h
|
---|
19 |
|
---|
20 | mkdir d1 d2
|
---|
21 |
|
---|
22 | : > d1/Makefile.am
|
---|
23 |
|
---|
24 | : > d2/config.h.in
|
---|
25 |
|
---|
26 | $AUTOMAKE || exit 1
|
---|
27 |
|
---|
28 | grep '^config.h:' d1/Makefile.in || exit 1
|
---|
29 | fgrep 'echo timestamp > stamp-h' d1/Makefile.in || exit 1
|
---|
30 | fgrep '../d2/config.h.in' d1/Makefile.in || exit 1
|
---|
Note:
See
TracBrowser
for help on using the repository browser.