On Wed, Jan 23, 2013 at 10:15 AM, Stephan Beal <sgb...@googlemail.com>wrote:
> i'll try to get this snuck in during work today, but we've got a half-day > team meeting, so it might have to wait until tomorrow. In any case, i've > set a reminder event so i won't forget it. > Hi, Rudi, a small problem: +FOSSIL_ENABLE_JSON = 1 i can't hard-code that into the makefile (same for FOSSIL_ENABLE_MARKDOWN) because the JSON/markdown support is optional and neither one is on by default. Does nmake support the equvalent of: foo ?= N meaning "if foo is defined then use it, else set it to N"? If so i could use that here. And to clarify: +!ifdef FOSSIL_ENABLE_JSON +TCC = $(TCC) -DFOSSIL_ENABLE_JSON +RCC = $(RCC) -DFOSSIL_ENABLE_JSON +!endif shouldn't that be: !if FOSSIL_ENABLE_JSON ... !endif :-? ifdef will trigger even if the enable flag is set to 0. -- ----- stephan beal http://wanderinghorse.net/home/stephan/ http://gplus.to/sgbeal
_______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users