On Saturday 30 June 2007, John Graham-Cumming wrote: ... > A simple way to do this is to use the GMSL seq (string equal > function) and then do > > $(if $(call seq,LHS,RHS),THEN,ELSE) > > Of course you cannot wrap this in a $(call) because THEN and ELSE > will be expanded and if you have any side effects ($(warning), > $(error), $(info), $(shell), $(eval)) in them then that would be > undesirable.
Excellent :). That's a very good idea. i overlooked seq in the gmsl because i thought it had to do with SEQuences, not String EQual. Likewise, i thought leq was Less-or-EQual, not List-EQual. -- ----- stephan beal http://www.wanderinghorse.net
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Help-make mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-make
