From ef31f6d3ff245ab9a508e6fdf5471107a69b3631 Mon Sep 17 00:00:00 2001 From: Akim Demaille Date: Mon, 9 Apr 2001 09:45:01 +0000 Subject: [PATCH] * tests/yacc2.test: Don't define several times a variable, as automake complains. --- ChangeLog | 5 +++++ tests/yacc2.test | 18 ++++++++++++++++++ 2 files changed, 23 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8583dcce..436fddc0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2001-04-09 Akim Demaille + + * tests/yacc2.test: Don't define several times a variable, as + automake complains. + 2001-04-09 Akim Demaille * automake.in (&handle_source_transform): Fix pr72: don't define diff --git a/tests/yacc2.test b/tests/yacc2.test index e6f319ed..9e71d86f 100755 --- a/tests/yacc2.test +++ b/tests/yacc2.test @@ -15,11 +15,20 @@ bin_PROGRAMS = zardoz zardoz_SOURCES = zardoz.y END +# Don't redefine several times the same variable. +cp Makefile.am Makefile.src + + + + $AUTOMAKE || exit 1 # If zardoz.h IS mentioned, fail grep 'zardoz.h' Makefile.in > /dev/null && exit 1 + + +cp Makefile.src Makefile.am echo 'AM_YFLAGS = -d' >> Makefile.am $AUTOMAKE || exit 1 @@ -27,6 +36,9 @@ $AUTOMAKE || exit 1 # If zardoz.h is NOT mentioned, fail grep 'zardoz.h' Makefile.in > /dev/null || exit 1 + + +cp Makefile.src Makefile.am echo 'AM_YFLAGS = ' >> Makefile.am $AUTOMAKE || exit 1 @@ -34,6 +46,9 @@ $AUTOMAKE || exit 1 # If zardoz.h IS mentioned, fail grep 'zardoz.h' Makefile.in > /dev/null && exit 1 + + +cp Makefile.src Makefile.am echo 'YFLAGS = -d' >> Makefile.am $AUTOMAKE || exit 1 @@ -41,6 +56,9 @@ $AUTOMAKE || exit 1 # If zardoz.h is NOT mentioned, fail grep 'zardoz.h' Makefile.in > /dev/null || exit 1 + + +cp Makefile.src Makefile.am echo 'YFLAGS = ' >> Makefile.am $AUTOMAKE || exit 1 -- 2.43.5