Change path to XMLTree library
[SXSI/xpathcomp.git] / configure
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";;