Tag
Hash :
548fc006
Author :
Date :
2001-07-25T15:27:36
From Nicolas Joly: * tests/pr9.test: Require GNU make. * tests/dirname.test: Don't use `-u'.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
#! /bin/sh
# Test for bug in PR 9.
. $srcdir/defs || exit 1
cat > configure.in << 'END'
AC_INIT(Makefile.am)
AC_CONFIG_AUX_DIR(support)
AM_INIT_AUTOMAKE(pr9, 0)
AC_OUTPUT(Makefile)
END
: > Makefile.am
mkdir support
# Fail gracefully if no autoconf.
$needs_autoconf
# Likewise for gzip.
(gzip --version) > /dev/null 2>&1 || exit 77
# `distcheck' requires GNU make.
$needs_gnu_make
$ACLOCAL || exit 1
$AUTOCONF || exit 1
$AUTOMAKE -a -c || exit 1
./configure || exit 1
$MAKE || exit 1
$MAKE distcheck || exit 1
gunzip pr9-0.tar.gz || exit 1
tar tf pr9-0.tar | fgrep support