]> sourceware.org Git - automake.git/commitdiff
* tests/dollar.test: Require GNU make.
authorAlexandre Duret-Lutz <adl@gnu.org>
Mon, 10 Jun 2002 18:42:58 +0000 (18:42 +0000)
committerAlexandre Duret-Lutz <adl@gnu.org>
Mon, 10 Jun 2002 18:42:58 +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 5ff8d4467de1a3dc1effdda62437575460e611a0..0358df65bed65a8980e81555eb4a6c2c171c5b2a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+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,
index 80af46886c88da2aa08df7344f45c5b4fd5aa84d..2207659306042d1b041097a2c26b56e278c64e85 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 a6991bf6655262f3820f9bd01b1bc07ec2cd786b..456b5a3f10e083f2e9c2c5b9fa25504cb32d7969 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
This page took 0.034331 seconds and 5 git commands to generate.