+2001-04-09 Akim Demaille <akim@epita.fr>
+
+ * tests/yacc2.test: Don't define several times a variable, as
+ automake complains.
+
2001-04-09 Akim Demaille <akim@epita.fr>
* automake.in (&handle_source_transform): Fix pr72: don't define
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
# 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
# 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
# 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