* Disable mono/docs build if we disabled the mcs build.
svn path=/trunk/mono/; revision=134651
+2009-05-24 Miguel de Icaza <miguel@novell.com>
+
+ * Disable mono/docs build if we disabled the mcs build.
+
2009-05-24 Zoltan Varga <vargaz@gmail.com>
* */CMakeLists.txt: Add beginnings of a cmake based build system.
fi
])
+dnl
+dnl Consistency settings
+dnl
+if test x$cross_compiling = xyes -o x$enable_mcs_build = xno; then
+ DISABLE_MCS_DOCS=yes
+ docs_dir=""
+else
+ docs_dir=docs
+fi
+AC_SUBST(docs_dir)
+
AM_CONDITIONAL(HAVE_OPROFILE, test x$OPROFILE = xyes)
AC_SUBST(OPROFILE_CFLAGS)
AC_SUBST(OPROFILE_LIBS)
sed -e "s,-mno-cygwin,,g" libtool > libtool.new; mv libtool.new libtool; chmod 755 libtool
fi
-dnl
-dnl Consistency settings
-dnl
-if test x$cross_compiling = xyes -o x$enable_mcs_build = xno; then
- DISABLE_MCS_DOCS=yes
-fi
-
(
case $prefix in
NONE) prefix=$ac_default_prefix ;;