X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fconfigure.ac;h=357d1018f1c89a31b77aa1f6247eca72727d4a1e;hb=9262517c80e17d46b9bf9931dc879ac653a633e9;hp=36bd36194277d16f2f408ab04a37a78799405b93;hpb=66cb9dbb90775e44e281cfa29429c335d41a9998;p=helm.git diff --git a/helm/ocaml/configure.ac b/helm/ocaml/configure.ac index 36bd36194..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