From: Kim Nguyễn Date: Tue, 14 Feb 2012 14:25:42 +0000 (+0100) Subject: Add Tom's Grammar work to the build script. Requires libGrammar.a X-Git-Url: http://git.nguyen.vg/gitweb/?a=commitdiff_plain;h=fe1e34ad13246504a2ff0707bf73d27580dc2240;p=SXSI%2Fxpathcomp.git Add Tom's Grammar work to the build script. Requires libGrammar.a --- 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";;