Fix savannah bug 25780. Optimize things a bit.

This commit is contained in:
Boris Kolpackov
2009-10-06 12:36:29 +00:00
parent 4254e88cfa
commit bd2d124f27
7 changed files with 101 additions and 101 deletions

View File

@@ -131,9 +131,8 @@ endef
'', "#MAKE#: *** prerequisites cannot be defined in recipes. Stop.\n", 512);
if ($all_tests) {
# Automatic $$+ variable expansion issue. Savannah bug #25780
run_make_test(q!
# Automatic $$+ variable expansion issue. Savannah bug #25780
run_make_test(q!
all : foo foo
.SECONDEXPANSION:
all : $$+ ; @echo '$+'
@@ -141,11 +140,9 @@ foo : ;
!,
'', "foo foo foo foo\n");
}
if ($all_tests) {
# Automatic $$+ variable expansion issue. Savannah bug #25780
run_make_test(q!
# Automatic $$+ variable expansion issue. Savannah bug #25780
run_make_test(q!
all : bar bar
bar : ;
q%x : ;
@@ -154,8 +151,6 @@ a%l: q1x $$+ q2x ; @echo '$+'
!,
'', "q1x bar bar q2x bar bar\n");
}
# This tells the test driver that the perl test script executed properly.
1;