Tag
Hash :
8b30c859
Author :
Date :
2001-07-21T19:34:32
* automake.in (handle_dist): Handle case where aux dir doesn't have a Makefile. Fixes depdist.test. * tests/Makefile.am (XFAIL_TESTS): Removed depdist.test. * tests/depdist.test: Look for config/depcomp. * tests/Makefile.am (TESTS): Added depdist.test. (XFAIL_TESTS): Likewise. * tests/depdist.test: New file. From Eric Magnien.
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 38 39 40 41 42
#! /bin/sh
# Make sure depcomp is found for the distribution.
# From Eric Magnien.
. $srcdir/defs || exit 1
rm -f configure.in
mkdir config
for i in *; do
if test $i != "config"; then
mv $i config
fi
done
cat > configure.in << 'END'
AC_INIT(subdir/foo.c)
AC_CONFIG_AUX_DIR(config)
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
AC_PROG_CC
AC_OUTPUT(subdir/Makefile Makefile)
END
cat > Makefile.am << 'END'
SUBDIRS = subdir
END
mkdir subdir
: > subdir/foo.c
cat > subdir/Makefile.am << 'END'
bin_PROGRAMS = foo
foo_SOURCES = foo.c
END
set -e
$ACLOCAL
$AUTOMAKE --add-missing
$AUTOCONF
grep config/depcomp Makefile.in