Tag
Hash :
351be497
Author :
Date :
2001-01-21T21:12:09
2001-01-21 Kevin Ryde <user42@zip.com.au> * colon7.test: Grep for a couple of AC_OUTPUT problems.
#! /bin/sh
# Another test for a failing ":" in AC_OUTPUT. Report from Maciej
# Stachowiak.
. $srcdir/defs || exit 1
cat > configure.in << 'END'
AM_INIT_AUTOMAKE(nonesuch, nonesuch)
PACKAGE=nonesuch
VERSION=nonesuch
AC_ARG_PROGRAM
AC_PROG_MAKE_SET
AC_PROG_INSTALL
AC_OUTPUT(subdir/bar:subdir/foo \
Makefile \
subdir/Makefile
)
END
: > Makefile.am
mkdir subdir
: > subdir/Makefile.am
: > subdir/foo
$AUTOMAKE || exit 1
# shouldn't have any bar.in
grep 'bar.in' subdir/Makefile.in && exit 1
# DIST_COMMON should have foo, not subdir/foo
grep 'DIST_COMMON.*subdir/foo' subdir/Makefile.in && exit 1
exit 0