else
AC_MSG_ERROR(could not find camlp4o)
fi
-
-FINDLIB_CREQUIRES="\
+FINDLIB_DEPREQUIRES="\
pcre \
mysql \
+helm-registry \
+helm-cic_textual_parser2 \
+"
+FINDLIB_CLEANREQUIRES="$FINDLIB_DEPREQUIRES"
+FINDLIB_CREQUIRES="\
+$FINDLIB_CLEANREQUIRES \
unix \
helm-cic_omdoc \
-helm-cic_transformations \
-helm-registry \
helm-tactics \
+helm-paramodulation \
helm-xml \
-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)
echo "debugging enabled"
fi
-MATITA_GTKRC="matita.gtkrc"
+RT_BASE_DIR=`pwd`
+USER_HOME=`pwd` #should be `echo $HOME`
+USER_NAME=`echo $USER`
AC_SUBST(CAMLP4O)
AC_SUBST(DEBUG)
AC_SUBST(TRANSFORMER_MODULE)
AC_SUBST(FINDLIB_REQUIRES)
AC_SUBST(FINDLIB_CREQUIRES)
+AC_SUBST(FINDLIB_DEPREQUIRES)
+AC_SUBST(FINDLIB_CLEANREQUIRES)
AC_SUBST(HAVE_OCAMLOPT)
AC_SUBST(LABLGLADECC)
AC_SUBST(OCAMLFIND)
-AC_SUBST(MATITA_GTKRC)
+AC_SUBST(RT_BASE_DIR)
+AC_SUBST(USER_HOME)
+AC_SUBST(USER_NAME)
AC_OUTPUT([
+ matita.conf.xml.sample
buildTimeConf.ml
Makefile
+ gtkmathview.matita.conf.xml
])