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

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

automake 1.4-p6

File size: 519 bytes
Line 
1#! /bin/sh
2
3# Test to make sure config.h rule made even if it is in a subdir. The
4# idea is that if config.h is in a subdir, and there is no Makefile in
5# that subdir, then we want to build config.h as the top level.
6
7. $srcdir/defs || exit 1
8
9cat > configure.in << 'END'
10AM_CONFIG_HEADER(subdir/config.h)
11PACKAGE=nonesuch
12VERSION=nonesuch
13AC_PROG_CC
14AC_ARG_PROGRAM
15AC_PROG_INSTALL
16AC_OUTPUT(Makefile)
17END
18
19: > Makefile.am
20mkdir subdir
21: > subdir/config.h.in
22
23$AUTOMAKE || exit 1
24
25grep '^subdir/config.h:' Makefile.in
Note: See TracBrowser for help on using the repository browser.