X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;ds=inline;f=helm%2Fmatita%2Fconfigure.ac;h=745b4dfbe847d15662939a7a57d53ff37848e66b;hb=6cf15c86b051582032c794f7da8a325e31fc0480;hp=86b0529fc5c97083cbe27b39bd8fca29fa4e8d1c;hpb=07dde6f87105c18b28fc784b7d596a5d242e1225;p=helm.git diff --git a/helm/matita/configure.ac b/helm/matita/configure.ac index 86b0529fc..745b4dfbe 100644 --- a/helm/matita/configure.ac +++ b/helm/matita/configure.ac @@ -1,4 +1,4 @@ -AC_INIT(matita.ml) +AC_INIT(matitaTypes.ml) AC_CHECK_PROG(HAVE_OCAMLC, ocamlc, yes, no) if test $HAVE_OCAMLC = "no"; then @@ -27,19 +27,28 @@ else AC_MSG_ERROR(could not find camlp4o) fi -FINDLIB_REQUIRES="\ -lablgtk2.glade \ +FINDLIB_CREQUIRES="\ +pcre \ +mysql \ +unix \ helm-cic_omdoc \ helm-cic_transformations \ helm-registry \ helm-tactics \ helm-xml \ -helm-disambiguator \ +helm-cic_textual_parser2 \ +" +FINDLIB_REQUIRES="\ +$FINDLIB_CREQUIRES \ +lablgtk2.glade \ +lablgtkmathview \ +lablgtksourceview \ +helm-xmldiff \ " for r in $FINDLIB_REQUIRES do AC_MSG_CHECKING(for $r ocaml library) - if $OCAMLFIND query $r &> /dev/null; then + if OCAMLPATH=../ocaml/METAS $OCAMLFIND query $r &> /dev/null; then AC_MSG_RESULT(yes) else AC_MSG_ERROR(could not find $r ocaml library) @@ -78,12 +87,17 @@ if test "$DEBUG" = "true"; then echo "debugging enabled" fi +RT_BASE_DIR="." + AC_SUBST(CAMLP4O) AC_SUBST(DEBUG) +AC_SUBST(TRANSFORMER_MODULE) AC_SUBST(FINDLIB_REQUIRES) +AC_SUBST(FINDLIB_CREQUIRES) AC_SUBST(HAVE_OCAMLOPT) AC_SUBST(LABLGLADECC) AC_SUBST(OCAMLFIND) +AC_SUBST(RT_BASE_DIR) AC_OUTPUT([ buildTimeConf.ml