Commit 69d063d6 authored by Ruben Vermeersch's avatar Ruben Vermeersch Committed by Ruben Vermeersch

Make sure BUILD_DOCS is set.

2008-08-11  Ruben Vermeersch  <ruben@savanne.be>

	* configure.in: Make sure BUILD_DOCS is set.

svn path=/trunk/; revision=2576
parent a15d599c
2008-08-11 Ruben Vermeersch <ruben@savanne.be>
* configure.in: Make sure BUILD_DOCS is set.
2008-08-09 Ruben Vermeersch <ruben@savanne.be>
* AUTHORS: Add Gabriel back.
......
......@@ -106,6 +106,29 @@ AC_ARG_WITH([gegl-headers], [AS_HELP_STRING([--gegl-headers], [path to directory
[GEGL_HEADERS=../../../gegl])
AC_SUBST(GEGL_HEADERS)
dnl Find Monodoc
AC_ARG_ENABLE(docs, AC_HELP_STRING([--disable-docs],
[Do not build documentation]), with_docs=no, with_docs=yes)
if test "x$with_docs" = "xyes"; then
AC_PATH_PROG(MONODOCER, monodocer, no)
if test "x$MONODOCER" = "xno"; then
AC_MSG_ERROR([You need to install monodoc, or pass --disable-docs to configure to skip documentation installation])
fi
AC_PATH_PROG(MDASSEMBLER, mdassembler, no)
if test "x$MDASSEMBLER" = "xno"; then
AC_MSG_ERROR([You need to install mdassembler, or pass --disable-docs to configure to skip documentation installation])
fi
DOCDIR=`$PKG_CONFIG monodoc --variable=sourcesdir`
AC_SUBST(DOCDIR)
AM_CONDITIONAL(BUILD_DOCS, true)
else
AC_MSG_NOTICE([not building gegl-sharp API documentation])
AM_CONDITIONAL(BUILD_DOCS, false)
fi
AC_SUBST(CFLAGS)
AC_OUTPUT([
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment