From: mquinson Date: Fri, 3 Feb 2006 15:59:08 +0000 (+0000) Subject: Make doxygen mandatory in maintainer mode since we fail miserably without it in that... X-Git-Tag: v3.3~3455 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/620d7b39338ad2318d4ca3c638b7dad337cf7967 Make doxygen mandatory in maintainer mode since we fail miserably without it in that case git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@1903 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- diff --git a/configure.ac b/configure.ac index 7c2dfae194..5584779ffc 100644 --- a/configure.ac +++ b/configure.ac @@ -195,7 +195,7 @@ AM_MAINTAINER_MODE if test x$USE_MAINTAINER_MODE = xyes then # Maintainers have no choice ! I'm a BOFH, and I plainly assume. [Mt] - enable_compile_warnings=yes + enable_compile_warnings=yes fi SG_COMPILE_FLAGS @@ -223,6 +223,16 @@ AC_PROG_FLEX(2.5.30) AC_CHECK_PROG(FLEXML,flexml,`which flexml`,NOTFOUND) AM_CONDITIONAL(HAVE_FLEXML,test x$FLEXML != xNOTFOUND) +if test x$USE_MAINTAINER_MODE = xyes +then + # Check for doxygen when in maintainer mode since dist* targets fail + # without it + AC_PATH_PROG(DOXYGEN,doxygen,`which doxygen`) + if test x$DOXYGEN = x ; then + AC_MSG_ERROR([doxygen is mandatory in maintainer mode]) + fi +fi + ################### ## Makes the output ##