Lines Matching refs:opt

85 function boolToStr(opt)  argument
87 if (opt == false)
89 else if (opt == true)
97 function strToBool(opt) argument
99 if (opt == 0 || opt == "no")
101 else if (opt == 1 || opt == "yes")
459 var arg, opt; variable
461 opt = arg.substring(0, arg.indexOf("="));
462 if (opt.length == 0)
463 opt = arg.substring(0, arg.indexOf(":"));
464 if (opt.length > 0) {
465 if (opt == "trio")
466 withTrio = strToBool(arg.substring(opt.length + 1, arg.length));
467 else if (opt == "threads")
468 withThreads = arg.substring(opt.length + 1, arg.length);
469 else if (opt == "ftp")
470 withFtp = strToBool(arg.substring(opt.length + 1, arg.length));
471 else if (opt == "http")
472 withHttp = strToBool(arg.substring(opt.length + 1, arg.length));
473 else if (opt == "html")
474 withHtml = strToBool(arg.substring(opt.length + 1, arg.length));
475 else if (opt == "c14n")
476 withC14n = strToBool(arg.substring(opt.length + 1, arg.length));
477 else if (opt == "catalog")
478 withCatalog = strToBool(arg.substring(opt.length + 1, arg.length));
479 else if (opt == "docb")
480 withDocb = strToBool(arg.substring(opt.length + 1, arg.length));
481 else if (opt == "xpath")
482 withXpath = strToBool(arg.substring(opt.length + 1, arg.length));
483 else if (opt == "xptr")
484 withXptr = strToBool(arg.substring(opt.length + 1, arg.length));
485 else if (opt == "xinclude")
486 withXinclude = strToBool(arg.substring(opt.length + 1, arg.length));
487 else if (opt == "iconv")
488 withIconv = strToBool(arg.substring(opt.length + 1, arg.length));
489 else if (opt == "icu")
490 withIcu = strToBool(arg.substring(opt.length + 1, arg.length));
491 else if (opt == "iso8859x")
492 withIso8859x = strToBool(arg.substring(opt.length + 1, arg.length));
493 else if (opt == "zlib")
494 withZlib = strToBool(arg.substring(opt.length + 1, arg.length));
495 else if (opt == "lzma")
496 withLzma = strToBool(arg.substring(opt.length + 1, arg.length));
497 else if (opt == "xml_debug")
498 withDebug = strToBool(arg.substring(opt.length + 1, arg.length));
499 else if (opt == "mem_debug")
500 withMemDebug = strToBool(arg.substring(opt.length + 1, arg.length));
501 else if (opt == "run_debug")
502 withRunDebug = strToBool(arg.substring(opt.length + 1, arg.length));
503 else if (opt == "schemas")
504 withSchemas = strToBool(arg.substring(opt.length + 1, arg.length));
505 else if (opt == "schematron")
506 withSchematron = strToBool(arg.substring(opt.length + 1, arg.length));
507 else if (opt == "regexps")
508 withRegExps = strToBool(arg.substring(opt.length + 1, arg.length));
509 else if (opt == "modules")
510 withModules = strToBool(arg.substring(opt.length + 1, arg.length));
511 else if (opt == "tree")
512 withTree = strToBool(arg.substring(opt.length + 1, arg.length));
513 else if (opt == "reader")
514 withReader = strToBool(arg.substring(opt.length + 1, arg.length));
515 else if (opt == "writer")
516 withWriter = strToBool(arg.substring(opt.length + 1, arg.length));
517 else if (opt == "walker")
518 withWalker = strToBool(arg.substring(opt.length + 1, arg.length));
519 else if (opt == "pattern")
520 withPattern = strToBool(arg.substring(opt.length + 1, arg.length));
521 else if (opt == "push")
522 withPush = strToBool(arg.substring(opt.length + 1, arg.length));
523 else if (opt == "valid")
524 withValid = strToBool(arg.substring(opt.length + 1, arg.length));
525 else if (opt == "sax1")
526 withSax1 = strToBool(arg.substring(opt.length + 1, arg.length));
527 else if (opt == "legacy")
528 withLegacy = strToBool(arg.substring(opt.length + 1, arg.length));
529 else if (opt == "output")
530 withOutput = strToBool(arg.substring(opt.length + 1, arg.length));
531 else if (opt == "python")
532 withPython = strToBool(arg.substring(opt.length + 1, arg.length));
533 else if (opt == "compiler")
534 compiler = arg.substring(opt.length + 1, arg.length);
535 else if (opt == "cruntime")
536 cruntime = arg.substring(opt.length + 1, arg.length);
537 else if (opt == "dynruntime")
538 dynruntime = strToBool(arg.substring(opt.length + 1, arg.length));
539 else if (opt == "vcmanifest")
540 vcmanifest = strToBool(arg.substring(opt.length + 1, arg.length));
541 else if (opt == "debug")
542 buildDebug = strToBool(arg.substring(opt.length + 1, arg.length));
543 else if (opt == "static")
544 buildStatic = strToBool(arg.substring(opt.length + 1, arg.length));
545 else if (opt == "prefix")
546 buildPrefix = arg.substring(opt.length + 1, arg.length);
547 else if (opt == "bindir")
548 buildBinPrefix = arg.substring(opt.length + 1, arg.length);
549 else if (opt == "libdir")
550 buildLibPrefix = arg.substring(opt.length + 1, arg.length);
551 else if (opt == "sodir")
552 buildSoPrefix = arg.substring(opt.length + 1, arg.length);
553 else if (opt == "incdir")
554 buildIncPrefix = arg.substring(opt.length + 1, arg.length);
555 else if (opt == "include")
556 buildInclude = arg.substring(opt.length + 1, arg.length);
557 else if (opt == "lib")
558 buildLib = arg.substring(opt.length + 1, arg.length);
559 else if (opt == "release")