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: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1abde7951326492d345696f267fbc501537478b1;p=thirdparty%2Fautomake.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 000000000..4937679bb --- /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 000000000..e80cf537c --- /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