X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=myocamlbuild.ml;h=3e14dfaae827d57b25a326ba8bb49aedd40bbfeb;hb=43906e89a76c67491e2a567990980df787036088;hp=bbe7fc091ef0def00d4c9f7ce59281b449c06f4e;hpb=15925690fee382ffc7d78fa2fed8b686c180ec99;p=SXSI%2Fxpathcomp.git diff --git a/myocamlbuild.ml b/myocamlbuild.ml index bbe7fc0..3e14dfa 100644 --- a/myocamlbuild.ml +++ b/myocamlbuild.ml @@ -106,8 +106,8 @@ let () = dispatch begin Options.ocamldoc := ocamlfind (A"ocamldoc"); Options.ocamlmktop := ocamlfind (A"ocamlmktop"); - if (List.mem "trace" !Options.tags) then begin - pp_macro_options @= [ A "-DTRACE" ]; + if not (List.mem "trace" !Options.tags) then begin + pp_macro_options @= [ A "-DNTRACE" ]; end; if (List.mem "profile" !Options.tags) then begin pp_macro_options @= [ A "-DPROFILE" ];