]> matita.cs.unibo.it Git - helm.git/commitdiff
- Check for ocamlfind added.
authorClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 13 Nov 2001 18:15:25 +0000 (18:15 +0000)
committerClaudio Sacerdoti Coen <claudio.sacerdoticoen@unibo.it>
Tue, 13 Nov 2001 18:15:25 +0000 (18:15 +0000)
- .cvsignore improved

helm/DEVEL/mlminidom/.cvsignore
helm/DEVEL/mlminidom/configure.in

index 90e9bb4c03a8737e2f84824a6292f2f809eb2b17..dd559e6b422560eb390002b2fe94df32ec22a35a 100644 (file)
@@ -4,3 +4,5 @@ config.status
 config.log
 config.cache
 Makefile
+META
+mlminidom.spec
index bf6dcdcb148da1bda326ec79df7d9ae2d1c89890..61d7770f407537f77dae75b5b2c7fa79c863e742 100644 (file)
@@ -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,