Change path to XMLTree library
authorkim <kim@3cdefd35-fc62-479d-8e8d-bae585ffb9ca>
Wed, 25 Jan 2012 23:11:00 +0000 (23:11 +0000)
committerkim <kim@3cdefd35-fc62-479d-8e8d-bae585ffb9ca>
Wed, 25 Jan 2012 23:11:00 +0000 (23:11 +0000)
git-svn-id: svn+ssh://idea.nguyen.vg/svn/sxsi/trunk/xpathcomp@1192 3cdefd35-fc62-479d-8e8d-bae585ffb9ca

build
configure

diff --git a/build b/build
index ce2a599..9b62f74 100755 (executable)
--- a/build
+++ b/build
@@ -56,7 +56,7 @@ let tests_targets = []
 let () = Cmdline.parse ()
 let cmd_list =
   let ocamlbuild =
-    Printf.sprintf "ocamlbuild  -byte-plugin %s %s -j %i "
+    Printf.sprintf "ocamlbuild %s %s -j %i "
       !Cmdline.verbose (String.concat " " !Cmdline.tags) !Cmdline.jobs
   in
   List.map begin function
index fafe839..791a088 100755 (executable)
--- a/configure
+++ b/configure
@@ -18,13 +18,13 @@ Conf.check_prog "camlp4" "ocamlfind query camlp4";;
 Conf.check_prog "ulex" "ocamlfind query ulex";;
 Conf.check_prog "expat" "ocamlfind query expat";;
 
-Conf.check "XMLTree" (Conf.absolute) ("%s/src/XMLTree/libXMLTree.a") (Sys.file_exists);;
+Conf.check "XMLTree" (Conf.absolute) ("%s/../XMLTree/libXMLTree.a") (Sys.file_exists);;
 
-let libXMLTreeI = [ Conf.absolute "-I%s/src/XMLTree";
-                         Conf.absolute "-I%s/src/XMLTree/libcds/includes";
-                         Conf.absolute "-I%s/src/XMLTree/TextCollection" ]
+let libXMLTreeI = [ Conf.absolute "-I%s/../XMLTree";
+                         Conf.absolute "-I%s/../XMLTree/libcds/includes";
+                         Conf.absolute "-I%s/../XMLTree/TextCollection" ]
 ;;
-let libXMLTreeL = [ Conf.absolute "-L%s/src/XMLTree" ];;
+let libXMLTreeL = [ Conf.absolute "-L%s/../XMLTree" ];;
 let libXMLTreel = [ "-lXMLTree" ];;
 
 let _,ocamlI,_ = Conf.exec "ocamlc -where";;