From 4acb4eac82022430872b62ef38222c821b5620f3 Mon Sep 17 00:00:00 2001 From: Enrico Tassi Date: Tue, 20 Dec 2005 09:28:05 +0000 Subject: [PATCH] added ocamldep.opt checking --- helm/ocaml/configure.ac | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.39.2