* tests/dollar.test: Require GNU make.
authorAlexandre Duret-Lutz <adl@gnu.org>
Mon, 10 Jun 2002 18:42:59 +0000 (18:42 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Mon, 10 Jun 2002 18:42:59 +0000 (18:42 +0000)
* tests/maintclean.test: Don't use `export YACC=false'.  Pass
YACC=false to configure instead.

ChangeLog
tests/dollar.test
tests/maintclean.test

index 5ff8d44..0358df6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
 2002-06-10  Alexandre Duret-Lutz  <duret_g@epita.fr>
 
+       * 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  <duret_g@epita.fr>
+
        * lib/config.guess, lib/config.sub, lib/texinfo.tex, lib/INSTALL,
        INSTALL: New upstream versions.
 
index 80af468..2207659 100755 (executable)
@@ -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
index a6991bf..456b5a3 100755 (executable)
@@ -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