diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-01-30 13:13:33 -0500 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2010-02-05 11:25:47 -0500 |
commit | a76488f75f23b8e08763e28b2fa56352e7b04e19 (patch) | |
tree | a1d2d7cefe272f84cea427afc13cdec8566c8194 /configure.ac | |
parent | 360f10333ac19f033ea64a8360c4886fbb657890 (diff) |
doc: use new macros to control doc generation
Namely XORG_WITH_FOP for the fop backend (pdf) and
XORG_ENABLE_DEVEL_DOCS for the generation of all docs
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/configure.ac b/configure.ac index 6e39c1d..8edeba0 100644 --- a/configure.ac +++ b/configure.ac @@ -39,10 +39,12 @@ AM_MAINTAINER_MODE # Require xorg-macros: XORG_DEFAULT_OPTIONS m4_ifndef([XORG_MACROS_VERSION], - [m4_fatal([must install xorg-macros 1.5 or later before running autoconf/autogen])]) -XORG_MACROS_VERSION(1.5) + [m4_fatal([must install xorg-macros 1.6 or later before running autoconf/autogen])]) +XORG_MACROS_VERSION(1.6) XORG_DEFAULT_OPTIONS +XORG_ENABLE_DEVEL_DOCS XORG_WITH_XMLTO +XORG_WITH_FOP # Check for progs AC_PROG_CC @@ -51,13 +53,6 @@ dnl If the first PKG_CHECK_MODULES appears inside a conditional, pkg-config dnl must first be located explicitly. PKG_PROG_PKG_CONFIG -# Option to enable support for building developer internals docs -AC_ARG_ENABLE(devel-docs, - AS_HELP_STRING([--enable-devel-docs], - [Build internals documentation for developers (default: enabled)]), - [DEVEL_DOCS=$enableval], [DEVEL_DOCS=yes]) -AM_CONDITIONAL([MAKE_DEVEL_DOCS], [test "x$DEVEL_DOCS" = "xyes"]) - # Look for headers AC_CHECK_HEADERS([endian.h poll.h sys/poll.h]) AC_CHECK_FUNCS([poll]) |