Tag
Hash :
569453df
Author :
Date :
2001-07-21T05:27:26
* m4/header.m4 (AM_CONFIG_HEADER): Create stamp-h files in the correct locations. * tests/dirname.test: New test. * tests/stamph2.test: New test. * tests/Makefile.am: Add new tests. * tests/Makefile.in: Regenerated.
#! /bin/sh
# Make sure stamp-h* files are created where we expect
. $srcdir/defs || exit 1
cat > configure.in << 'END'
AC_INIT(Makefile.am)
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AM_CONFIG_HEADER(firstfile.h sdir/secondfile.h thirdfile.h)
AC_OUTPUT(Makefile)
END
: > Makefile.am
mkdir sdir
: > firstfile.h.in
: > sdir/secondfile.h.in
: > thirdfile.h.in
# Fail gracefully if no autoconf.
$needs_autoconf
$ACLOCAL || exit 1
$AUTOCONF || exit 1
$AUTOMAKE || exit 1
./configure || exit 1
(test -f stamp-h1 && test -f sdir/stamp-h2 && test -f stamp-h3) || exit 1
exit 0