diff options
author | Jon A. Cruz <jonc@osg.samsung.com> | 2015-07-15 19:22:43 -0700 |
---|---|---|
committer | Pekka Paalanen <pekka.paalanen@collabora.co.uk> | 2015-07-17 13:28:02 +0300 |
commit | 179c186e19d76a8e3057d653998fe38d0ba3791f (patch) | |
tree | 38545135e0186799eec32fc84ee37ff8477a32e5 /configure.ac | |
parent | a67c541e275da256fdb6bd6e3b86e139ce5ea6a5 (diff) | |
download | weston-179c186e19d76a8e3057d653998fe38d0ba3791f.tar.gz |
Adding doxygen setup and info for the testing framework.
Signed-off-by: Jon A. Cruz <jonc@osg.samsung.com>
Reviewed-by: Pekka Paalanen <pekka.paalanen@collabora.co.uk>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d24fb0b4..e5bbc0d7 100644 --- a/configure.ac +++ b/configure.ac @@ -61,6 +61,25 @@ AC_CHECK_FUNCS([mkostemp strchrnul initgroups posix_fallocate]) COMPOSITOR_MODULES="wayland-server >= 1.8.0 pixman-1 >= 0.25.2" +AC_CONFIG_FILES([doc/doxygen/tools.doxygen doc/doxygen/tooldev.doxygen]) + +AC_ARG_ENABLE(devdocs, + AS_HELP_STRING([--disable-devdocs], + [do not enable building of developer documentation]),, + enable_devdocs=auto) +if test "x$enable_devdocs" != "xno"; then + AC_CHECK_PROGS([DOXYGEN], [doxygen]) + if test "x$DOXYGEN" = "x" -a "x$enable_devdocs" = "xyes"; then + AC_MSG_ERROR([Developer documentation explicitly requested, but Doxygen couldn't be found]) + fi + if test "x$DOXYGEN" != "x"; then + enable_devdocs=yes + else + enable_devdocs=no + fi +fi +AM_CONDITIONAL(ENABLE_DEVDOCS, test "x$enable_devdocs" = "xyes") + AC_ARG_ENABLE(egl, [ --disable-egl],, enable_egl=yes) AM_CONDITIONAL(ENABLE_EGL, test x$enable_egl = xyes) @@ -549,6 +568,7 @@ AC_MSG_RESULT([ Build wcap utility ${enable_wcap_tools} Build Fullscreen Shell ${enable_fullscreen_shell} + Enable developer documentation ${enable_devdocs} weston-launch utility ${enable_weston_launch} systemd-login support ${have_systemd_login} |