# Distribution settings (i.e. settings to be manipulated before a release)
DEBUG_DEFAULT="true"
+DEFAULT_DBHOST="mowgli.cs.unibo.it"
RT_BASE_DIR_DEFAULT="`pwd`/matita"
MATITA_VERSION="0.1.0"
# End of distribution settings
AC_MSG_CHECKING(--enable-debug argument)
AC_ARG_ENABLE(debug,
- [ --enable-debug Turn on debugging],
+ [ --enable-debug Turn on debugging],
[GIVEN="yes";
case "${enableval}" in
yes) DEBUG=true ;;
AC_MSG_CHECKING(--with-runtime-dir argument)
AC_ARG_WITH(runtime-dir,
- [ --with-runtime-dir Runtime directory (current working directory if not given)],
+ [ --with-runtime-dir Runtime directory (current working directory if not given)],
[ RT_BASE_DIR="${withval}" ],
[ RT_BASE_DIR="$RT_BASE_DIR_DEFAULT" ])
AC_MSG_RESULT($RT_BASE_DIR)
+AC_MSG_CHECKING(--with-dbhost argument)
+AC_ARG_WITH(dbhost,
+ [ --with-dbhost SQL database hostname],
+ [ DBHOST="${withval}" ],
+ [ DBHOST="$DEFAULT_DBHOST" ])
+AC_MSG_RESULT($DBHOST)
+
AC_SUBST(CAMLP4O)
+AC_SUBST(DBHOST)
AC_SUBST(DEBUG)
AC_SUBST(TRANSFORMER_MODULE)
AC_SUBST(FINDLIB_REQUIRES)
AC_SUBST(MATITA_VERSION)
AC_OUTPUT([
- matita/matita.conf.xml.sample
+ matita/matita.conf.xml.devel
+ matita/matita.conf.xml.user
matita/buildTimeConf.ml
matita/gtkmathview.matita.conf.xml
Makefile.defs