X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=configure;h=2866377e4349f52577da1fbcf3a86633958189bc;hb=2ff11e73d074e8150827b1840ab83314ab3db275;hp=a9eccc8714cb89bdb2682b52bacd781064409fb5;hpb=9d19c60e10c9572885509b35c2b72f362968d6ab;p=SXSI%2Fxpathcomp.git diff --git a/configure b/configure index a9eccc8..2866377 100755 --- a/configure +++ b/configure @@ -12,7 +12,6 @@ Conf.check "Ocaml version >= 3.11.0" Conf.version version (fun c -> c >= (3,11,0 Conf.check_prog ~required:false "Ocaml native compiler" "ocamlopt -version";; Conf.check_prog "ocamlbuild" "ocamlbuild -version";; Conf.check_prog "ocamlfind" "ocamlfind printconf";; -Conf.check_prog "pkg-config" "pkg-config --version";; Conf.check_prog "camlp4" "ocamlfind query camlp4";; Conf.check_prog "ulex" "ocamlfind query ulex";; @@ -24,6 +23,13 @@ Conf.check "libxml-tree" (Conf.absolute) ("%s/../XMLTree/libxml-tree.a") (Sys.fi Conf.check "TextCollection" (Conf.absolute) ("%s/../TextCollection/libTextCollection.a") (Sys.file_exists);; +let libs_files = [ + (Conf.absolute) ("%s/../bp/libbp.a"); + (Conf.absolute) ("%s/../libcds/lib/libcds.a"); + (Conf.absolute) ("%s/../XMLTree/libxml-tree.a"); + (Conf.absolute) ("%s/../TextCollection/libTextCollection.a"); +] + let libs_I= [ Conf.absolute "-I%s/../bp"; Conf.absolute "-I%s/../libcds/includes"; @@ -56,7 +62,7 @@ Conf.def_str "cxx_cmd" "g++";; Conf.def_list "cxx_includes" (libs_I @ ocamlI);; Conf.def_list "cxx_lpaths" libs_L;; Conf.def_list "cxx_libs" libs_l;; - +Conf.def_list "cxx_libs_objects" libs_files;; Conf.finish ();;