2009-02-02 Rodrigo Kumpera <rkumpera@novell.com>
authorRodrigo Kumpera <kumpera@gmail.com>
Mon, 2 Feb 2009 17:24:29 +0000 (17:24 -0000)
committerRodrigo Kumpera <kumpera@gmail.com>
Mon, 2 Feb 2009 17:24:29 +0000 (17:24 -0000)
* configure.in: Add --with-mcs-docs to make it possible to disable building of documentation under mcs.

svn path=/trunk/mono/; revision=125382

ChangeLog
configure.in

index 95565e2ccb1f65bae00cccd055a25f6a9df0e90a..ac20bc335d8275c2f29617432cd03f09529cdb88 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-02-02  Rodrigo Kumpera  <rkumpera@novell.com>
+
+       * configure.in: Add --with-mcs-docs to make it possible to disable building of documentation under mcs.
+
 2009-01-29  Zoltan Varga  <vargaz@gmail.com>
 
        * configure.in: Remove -Wcast-align from the warning list, it leads to a lot of
index ebcd55c5ef3c695459dd23f27ae92d1ca849f248..27b4b147c0f70408b86b9862dd1b1d8bc9cf7fbf 100644 (file)
@@ -2178,6 +2178,14 @@ AC_ARG_WITH(malloc_mempools,[ --with-malloc-mempools=yes,no  Use malloc for each
        fi
 ])
 
+
+DISABLE_MCS_DOCS=no
+AC_ARG_WITH(mcs_docs,[ --with-mcs-docs=yes,no  If you want to build the documentation under mcs (defaults to YES)],[
+       if test x$with_mcs_docs != xyes; then
+               DISABLE_MCS_DOCS=yes
+       fi
+])
+
 AM_CONDITIONAL(HAVE_OPROFILE, test x$OPROFILE = xyes)
 AC_SUBST(OPROFILE_CFLAGS)
 AC_SUBST(OPROFILE_LIBS)
@@ -2469,6 +2477,10 @@ fi
       fi
     fi
   fi
+
+  if test x$DISABLE_MCS_DOCS = xyes; then
+       echo "DISABLE_MCS_DOCS = yes" >> $srcdir/$mcsdir/build/config.make
+  fi
 )
 
 libgdiplus_msg=${libgdiplus_loc:-assumed to be installed}