source: trunk/essentials/sys-devel/automake-1.4/tests/confh2.test

Last change on this file was 3124, checked in by bird, 18 years ago

automake 1.4-p6

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