From: Richard Boulton Date: Mon, 11 Mar 2002 17:11:42 +0000 (+0000) Subject: tests/acsubst.test: New test, by Alexandre Duret-Lutz X-Git-Tag: branchpoint-1-6~31 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=9ca1d4a0799b144d43779bd1a6a567b705fb3ae7;p=automake.git tests/acsubst.test: New test, by Alexandre Duret-Lutz tests/acsubst2.test: New test, by Alexandre Duret-Lutz Forgot to cvs add these before the previous commit. --- diff --git a/tests/acsubst.test b/tests/acsubst.test new file mode 100755 index 00000000..4937679b --- /dev/null +++ b/tests/acsubst.test @@ -0,0 +1,18 @@ +#! /bin/sh +. $srcdir/defs || exit 1 + +set -e + +cat >> configure.in << 'END' +AC_PROG_CC +AC_SUBST([FOOBAR_LDFLAGS],[blablabla]) +END + +cat > Makefile.am << 'END' +bin_PROGRAMS = mumble +mumble_SOURCES = a.c b.c d.h +mumble_LDFLAGS = $(FOOBAR_LDFLAGS) +END + +$ACLOCAL +$AUTOMAKE -a diff --git a/tests/acsubst2.test b/tests/acsubst2.test new file mode 100755 index 00000000..e80cf537 --- /dev/null +++ b/tests/acsubst2.test @@ -0,0 +1,18 @@ +#! /bin/sh +. $srcdir/defs || exit 1 + +set -e + +cat >> configure.in << 'END' +AC_PROG_CC +AC_SUBST([FOOBAR_CFLAGS],[blablabla]) +END + +cat > Makefile.am << 'END' +bin_PROGRAMS = mumble +mumble_SOURCES = a.c b.c d.h +mumble_CFLAGS = $(FOOBAR_CFLAGS) +END + +$ACLOCAL +$AUTOMAKE -a