X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=configure;h=f0540b7c177f92e748e38cfb3028592659e458ed;hb=5eb07e84bb9c3ee6f66b655ef4ab3b4797e0831a;hp=4e728243712d78ad9534db8ce71df0f5a204e553;hpb=9975bb31b2447755c6853875b8d738aed8873859;p=SXSI%2Fxpathcomp.git diff --git a/configure b/configure index 4e72824..f0540b7 100755 --- a/configure +++ b/configure @@ -22,6 +22,7 @@ Conf.check "bp" (Conf.absolute) ("%s/../bp/libbp.a") (Sys.file_exists);; Conf.check "libcds" (Conf.absolute) ("%s/../libcds/lib/libcds.a") (Sys.file_exists);; Conf.check "XMLTree" (Conf.absolute) ("%s/../XMLTree/libXMLTree.a") (Sys.file_exists);; Conf.check "TextCollection" (Conf.absolute) ("%s/../TextCollection/libTextCollection.a") (Sys.file_exists);; +Conf.check "Grammar" (Conf.absolute) ("%s/../Grammar/libGrammar.a") (Sys.file_exists);; let libs_I= [ @@ -29,6 +30,7 @@ let libs_I= [ Conf.absolute "-I%s/../libcds/includes"; Conf.absolute "-I%s/../XMLTree"; Conf.absolute "-I%s/../TextCollection"; + Conf.absolute "-I%s/../Grammar"; Conf.absolute "-I%s/.."; ] @@ -37,15 +39,17 @@ let libs_L = [ Conf.absolute "-L%s/../libcds/lib"; Conf.absolute "-L%s/../XMLTree"; Conf.absolute "-L%s/../TextCollection"; + Conf.absolute "-L%s/../Grammar"; Conf.absolute "-L%s/.."; ] (* Order is relevant *) let libs_l = [ - "-lXMLTree" + "-lGrammar"; + "-lXMLTree"; "-lTextCollection"; "-lbp"; - "-lcds"; + "-lcds" ] let _,ocamlI,_ = Conf.exec "ocamlc -where";;