From 04940fcde51802c94599c3805e9b55908591d6f5 Mon Sep 17 00:00:00 2001 From: Alexandre Duret-Lutz Date: Mon, 10 Jun 2002 18:42:58 +0000 Subject: [PATCH] * tests/dollar.test: Require GNU make. * tests/maintclean.test: Don't use `export YACC=false'. Pass YACC=false to configure instead. --- ChangeLog | 6 ++++++ tests/dollar.test | 9 ++++++--- tests/maintclean.test | 6 ++---- 3 files changed, 14 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5ff8d446..0358df65 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2002-06-10 Alexandre Duret-Lutz + + * tests/dollar.test: Require GNU make. + * tests/maintclean.test: Don't use `export YACC=false'. Pass + YACC=false to configure instead. + 2002-06-10 Alexandre Duret-Lutz * lib/config.guess, lib/config.sub, lib/texinfo.tex, lib/INSTALL, diff --git a/tests/dollar.test b/tests/dollar.test index 80af4688..22076593 100755 --- a/tests/dollar.test +++ b/tests/dollar.test @@ -6,6 +6,10 @@ . $srcdir/defs +# Require GNU make for this test. SunOS Make does not support +# `$$' in a target or a dependency (it outputs the empty string instead). +$needs_gnu_make + set -e echo AC_OUTPUT >> configure.in @@ -14,13 +18,12 @@ cat > Makefile.am <<'EOF' mydir = $(prefix)/my dist_my_DATA = hello$$world -hello$$world: - touch '$@' - check-dist: distdir test -f '$(distdir)/hello$$world' EOF +: > 'hello$$world' + $ACLOCAL $AUTOCONF $AUTOMAKE diff --git a/tests/maintclean.test b/tests/maintclean.test index a6991bf6..456b5a3f 100755 --- a/tests/maintclean.test +++ b/tests/maintclean.test @@ -23,16 +23,14 @@ END touch bar.in -# Since we don't require Yacc, make sure it's not used. -export YACC=false - $ACLOCAL $AUTOCONF $AUTOMAKE test -d autom4te.cache -./configure +# Since we don't require Yacc, make sure it's not used. +./configure YACC=false test -f bar $MAKE -- 2.43.5