From a45419dbbc4e0deab323fe3ce9f1e1d71523745f Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Tue, 13 Nov 2001 18:15:25 +0000 Subject: [PATCH] - Check for ocamlfind added. - .cvsignore improved --- helm/DEVEL/mlminidom/.cvsignore | 2 ++ helm/DEVEL/mlminidom/configure.in | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/helm/DEVEL/mlminidom/.cvsignore b/helm/DEVEL/mlminidom/.cvsignore index 90e9bb4c0..dd559e6b4 100644 --- a/helm/DEVEL/mlminidom/.cvsignore +++ b/helm/DEVEL/mlminidom/.cvsignore @@ -4,3 +4,5 @@ config.status config.log config.cache Makefile +META +mlminidom.spec diff --git a/helm/DEVEL/mlminidom/configure.in b/helm/DEVEL/mlminidom/configure.in index bf6dcdcb1..61d7770f4 100644 --- a/helm/DEVEL/mlminidom/configure.in +++ b/helm/DEVEL/mlminidom/configure.in @@ -23,8 +23,13 @@ if test $HAVE_OCAMLC = "no"; then AC_MSG_ERROR(could not find ocamlc in PATH, please make sure ocaml is installed) fi +AC_CHECK_PROG(HAVE_OCAMLFIND, ocamlfind, yes, no) +if test $HAVE_OCAMLFIND = "no"; then + AC_MSG_ERROR(could not find ocamlfind in PATH, please make sure findlib is installed) +fi + AC_MSG_CHECKING("for the ocaml library dir") -OCAML_LIB_DIR=`ocamlc -v | grep "^Standard" | sed 's/^.*: *//'` +OCAML_LIB_DIR=`ocamlc -where` AC_MSG_RESULT($OCAML_LIB_DIR) AC_CHECK_FILE(/usr/include/caml/mlvalues.h, -- 2.39.2