diff options
author | Gaetan Nadon <memsize@videotron.ca> | 2010-01-18 20:09:55 -0500 |
---|---|---|
committer | Gaetan Nadon <memsize@videotron.ca> | 2010-01-19 13:47:16 -0500 |
commit | 1b887152b514c1701e09313dde718fb9e263ff9f (patch) | |
tree | aa05dbbb548e43e913b6329c1c6cf6c501144c10 | |
parent | f9ddf6c7bcc3ca2a4745a37d901ab2337b256638 (diff) |
config: replace custom code with reusable macro XORG_WITH_XMLTO
XORG_WITH_XMLTO provides additional functions like a configure
option which allow platform builders to control the usage of
the xmlto program.
This is a requirement from platforms that do not have such doc tool.
Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
-rw-r--r-- | configure.ac | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac index 4b136d6..2c898e8 100644 --- a/configure.ac +++ b/configure.ac @@ -29,21 +29,16 @@ AM_MAINTAINER_MODE # Require xorg-macros: XORG_DEFAULT_OPTIONS m4_ifndef([XORG_MACROS_VERSION], - [m4_fatal([must install xorg-macros 1.3 or later before running autoconf/autogen])]) -XORG_MACROS_VERSION(1.3) + [m4_fatal([must install xorg-macros 1.5 or later before running autoconf/autogen])]) +XORG_MACROS_VERSION(1.5) XORG_DEFAULT_OPTIONS +XORG_WITH_XMLTO AM_CONFIG_HEADER(config.h) # Check for progs AC_PROG_CC AC_PROG_LIBTOOL -# Check for xmlto for man page conversion -# (only needed by people building tarballs) -AC_ARG_VAR([XMLTO], [Path to xmlto command]) -AC_PATH_PROG([XMLTO], [xmlto]) -AM_CONDITIONAL([HAVE_XMLTO], [test "x$XMLTO" != "x"]) - # Check for dependencies PKG_CHECK_MODULES(XTST, x11 [xext >= 1.0.99.4] xi [recordproto >= 1.13.99.1] [xextproto >= 7.0.99.3] inputproto) XTST_CFLAGS="$CWARNFLAGS $XTST_CFLAGS" |