aboutsummaryrefslogtreecommitdiff
path: root/doc/m4/configure.m4
blob: 6e02f76177e82e55be5c6b9ebee0f172206ec0c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
##########################################################################
# 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])
if test -z "$ASCIIDOCTOR";
   then AC_MSG_WARN([asciidoctor not found - continuing without asciidoctor support])
fi

##########################################################################
# Enable/disable user guide generation
##########################################################################
user_guides=no
AC_ARG_ENABLE([user-guides],
    [  --enable-user-guides    generate supplemental users guides],
    [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
    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])