diff options
Diffstat (limited to 'doc/m4/configure.m4')
-rw-r--r-- | doc/m4/configure.m4 | 47 |
1 files changed, 26 insertions, 21 deletions
diff --git a/doc/m4/configure.m4 b/doc/m4/configure.m4 index 6e02f7617..8dcb3025e 100644 --- a/doc/m4/configure.m4 +++ b/doc/m4/configure.m4 @@ -1,12 +1,4 @@ ########################################################################## -# Check for doxygen availability -########################################################################## -AC_CHECK_PROGS([DOXYGEN], [doxygen]) -if test -z "$DOXYGEN"; - then AC_MSG_WARN([Doxygen not found - continuing without Doxygen support]) -fi - -########################################################################## # Check for asciidoctor availability ########################################################################## AC_CHECK_PROGS([ASCIIDOCTOR], [asciidoctor]) @@ -15,32 +7,45 @@ if test -z "$ASCIIDOCTOR"; fi ########################################################################## +# Check for mscgen availability +########################################################################## +AC_CHECK_PROGS([MSCGEN], [mscgen]) +if test -z "$MSCGEN"; + then AC_MSG_WARN([mscgen not found - continuing without sequence message support]) +fi + +########################################################################## +# Check for dot availability +########################################################################## +AC_CHECK_PROGS([DOT], [dot]) +if test -z "$DOT"; + then AC_MSG_WARN([dot not found - continuing without dot graphics support]) +fi + +########################################################################## # Enable/disable user guide generation ########################################################################## user_guides=no AC_ARG_ENABLE([user-guides], - [ --enable-user-guides generate supplemental users guides], + [AS_HELP_STRING([--enable-user-guides], + [generate supplemental users guides [default=disabled]])], [if test "x$enableval" = "xyes"; then if test -z "$ASCIIDOCTOR"; then AC_MSG_ERROR([cannot generate user guides without asciidoctor]) - else - user_guides=yes fi + if test -z "$MSCGEN"; + then AC_MSG_ERROR([cannot generate user guides without mscgen]) + fi + if test -z "$DOT"; + then AC_MSG_ERROR([cannot generate user guides without dot]) + fi + user_guides=yes fi]) -########################################################################## -# Check for mscgen availability -########################################################################## - AC_CHECK_PROGS([MSCGEN], [mscgen]) - if test -z "$MSCGEN"; - then AC_MSG_WARN([mscgen not found - continuing without sequence message support]) - fi - AC_CONFIG_FILES([doc/application-api-guide/Makefile doc/helper-guide/Makefile doc/implementers-guide/Makefile doc/Makefile doc/platform-api-guide/Makefile doc/process-guide/Makefile - doc/users-guide/Makefile - doc/driver-api-guide/Makefile]) + doc/users-guide/Makefile]) |