From 1f16ee5c2d482a75504fbbcf70e9e2a44acc1339 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Wed, 21 Jan 2004 06:32:59 +0000 Subject: Many bug fixes etc. - Apply a fix for the "thundering herd" problem when using "-j -l". This also fixes bug #4693. - Fix bug #7257: allow functions as ifdef arguments - Fix bug #4518: make sure we print all double-colon rules with -p. - Upgrade to autconf 2.58/automake 1.8/gettext 0.13.1 - Various doc cleanups, etc. --- tests/scripts/features/conditionals | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'tests/scripts/features/conditionals') diff --git a/tests/scripts/features/conditionals b/tests/scripts/features/conditionals index 9aad1d1..36cba23 100644 --- a/tests/scripts/features/conditionals +++ b/tests/scripts/features/conditionals @@ -85,14 +85,21 @@ ifdef $(F)oo DEF2 = yes endif -all:; @echo DEF=$(DEF) DEF2=$(DEF2) + +DEF3 = no +FUNC = $1 +ifdef $(call FUNC,DEF)3 + DEF3 = yes +endif + +all:; @echo DEF=$(DEF) DEF2=$(DEF2) DEF3=$(DEF3) EOF close(MAKEFILE) &run_make_with_options($makefile2,"",&get_logfile,0); -$answer = "DEF=yes DEF2=yes\n"; +$answer = "DEF=yes DEF2=yes DEF3=yes\n"; &compare_output($answer,&get_logfile(1)); -- cgit v1.2.3