X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fconfigure.ac;h=357d1018f1c89a31b77aa1f6247eca72727d4a1e;hb=f1dc70ca55058b2983cd23b829d856df3b41b9a7;hp=0651685f151b9089604c0e2ec9c671946ca961ae;hpb=0bdb4b19d800f2e0d6a65dd8a9194bec3124b8ae;p=helm.git diff --git a/helm/ocaml/configure.ac b/helm/ocaml/configure.ac index 0651685f1..357d1018f 100644 --- a/helm/ocaml/configure.ac +++ b/helm/ocaml/configure.ac @@ -29,6 +29,14 @@ if test $HAVE_OCAMLOPT_OPT = "yes"; then OCAMLFIND_COMMANDS="$OCAMLFIND_COMMANDS ocamlopt=ocamlopt.opt" fi fi +AC_CHECK_PROG(HAVE_OCAMLDEP_OPT, ocamldep.opt, yes, no) +if test $HAVE_OCAMLDEP_OPT = "yes"; then + if test "$OCAMLFIND_COMMANDS" = ""; then + OCAMLFIND_COMMANDS="ocamldep=ocamldep.opt" + else + OCAMLFIND_COMMANDS="$OCAMLFIND_COMMANDS ocamldep=ocamldep.opt" + fi +fi if test "$OCAMLFIND_COMMANDS" != ""; then OCAMLFIND="OCAMLFIND_COMMANDS='$OCAMLFIND_COMMANDS' $OCAMLFIND" fi @@ -38,15 +46,12 @@ OCAMLFIND_DEST_DIR="/public/sacerdot/prova" AC_MSG_RESULT($OCAMLFIND_DEST_DIR) AC_MSG_CHECKING("where to install the META files") -OCAMLFIND_META_DIR="/public/sacerdot/prova/META" +OCAMLFIND_META_DIR=`pwd`/METAS AC_MSG_RESULT($OCAMLFIND_META_DIR) AC_SUBST(OCAMLFIND) AC_SUBST(OCAMLFIND_DEST_DIR) AC_SUBST(OCAMLFIND_META_DIR) -AC_SUBST(CHOSEN_TERM_EDITOR) -AC_SUBST(CHOSEN_TERM_PARSER) -AC_SUBST(CHOSEN_TRANSFORMER) AC_OUTPUT([ Makefile