]> matita.cs.unibo.it Git - helm.git/blobdiff - configure.ac
added configure time values SRCROOT and DISTRIBUTED
[helm.git] / configure.ac
index 295e427bbadb7da9d31f22fb9e5635587cc5ddb0..15470ef37cd8102dccbb74d84f68d8f007352e73 100644 (file)
@@ -1,12 +1,15 @@
 AC_INIT(matita/matitaTypes.ml)
 
-# Distribution settings (i.e. settings to be manipulated before a release)
+# Distribution settings
+# (i.e. settings (automatically) manipulated before a release)
 DEBUG_DEFAULT="true"
 DEFAULT_DBHOST="mowgli.cs.unibo.it"
 RT_BASE_DIR_DEFAULT="`pwd`/matita"
 MATITA_VERSION="0.1.0"
+DISTRIBUTED="no"  # "yes" for distributed tarballs
 # End of distribution settings
 
+SRCROOT=`pwd`
 AC_CHECK_PROG(HAVE_OCAMLC, ocamlc, yes, no)
 if test $HAVE_OCAMLC = "no"; then
   AC_MSG_ERROR(could not find ocamlc)
@@ -151,6 +154,7 @@ AC_ARG_WITH(dbhost,
 AC_MSG_RESULT($DBHOST)
 
 AC_SUBST(CAMLP4O)
+AC_SUBST(DISTRIBUTED)
 AC_SUBST(DBHOST)
 AC_SUBST(DEBUG)
 AC_SUBST(TRANSFORMER_MODULE)
@@ -161,6 +165,7 @@ AC_SUBST(LABLGLADECC)
 AC_SUBST(OCAMLFIND)
 AC_SUBST(OCAMLPATH)
 AC_SUBST(RT_BASE_DIR)
+AC_SUBST(SRCROOT)
 AC_SUBST(MATITA_VERSION)
 
 AC_OUTPUT([