tests/acsubst.test: New test, by Alexandre Duret-Lutz
authorRichard Boulton <richard@tartarus.org>
Mon, 11 Mar 2002 17:11:42 +0000 (17:11 +0000)
committerRichard Boulton <richard@tartarus.org>
Mon, 11 Mar 2002 17:11:42 +0000 (17:11 +0000)
tests/acsubst2.test: New test, by Alexandre Duret-Lutz

Forgot to cvs add these before the previous commit.

tests/acsubst.test [new file with mode: 0755]
tests/acsubst2.test [new file with mode: 0755]

diff --git a/tests/acsubst.test b/tests/acsubst.test
new file mode 100755 (executable)
index 0000000..4937679
--- /dev/null
@@ -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 (executable)
index 0000000..e80cf53
--- /dev/null
@@ -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