Backed out changeset b7ff20237032
authorChris Cooper <ccooper@deadsquid.com>
Thu, 12 Apr 2012 18:50:54 -0400
changeset 91508 88b2925e68b9e5b4035d93dc56878158b58fcb3e
parent 91507 b7ff20237032b8a202f9a4ce37491eed7be256ea
child 91509 e6f4ae0bd30eee9891863f9a88be6494c9ff27dc
push idunknown
push userunknown
push dateunknown
milestone14.0a1
backs outb7ff20237032b8a202f9a4ce37491eed7be256ea
Backed out changeset b7ff20237032
js/src/config/makefiles/makeutils.mk
--- a/js/src/config/makefiles/makeutils.mk
+++ b/js/src/config/makefiles/makeutils.mk
@@ -29,22 +29,8 @@ argv +=)
 ###########################################################################
 ## Access function args as a simple list, inline within user functions.
 ## Usage: $(info ** $(call banner,$(getargv)))
 ##    $(call banner,scalar)
 ##    $(call banner,list0 list1 list2)
 ##    $(call banner,ref) ; ref=foo bar tans
 ## getarglist() would be a more accurate name but is longer to type
 getargv = $(if $(call isvar,$(1)),$($(1)),$(argv))
-
-## http://www.gnu.org/software/make/manual/make.html#Call-Function
-## Usage: o = $(call map,origin,o map $(MAKE))
-map = $(foreach val,$(2),$(call $(1),$(val)))
-
-
-# Usage: $(call checkIfEmpty,[error|warning] foo NULL bar)
-checkIfEmpty =$(foreach var,$(wordlist 2,100,$(getargv)),$(if $(strip $($(var))),$(NOP),$(call $(1),Variable $(var) does not contain a value)))
-
-# Usage: $(call errorIfEmpty,foo NULL bar)
-errorIfEmpty =$(call checkIfEmpty,error $(getargv))
-warnIfEmpty  =$(call checkIfEmpty,warning $(getargv))
-
-