summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorGaetan Nadon <memsize@videotron.ca>2010-06-18 21:47:52 -0400
committerGaetan Nadon <memsize@videotron.ca>2010-06-25 15:51:11 -0400
commit4f557036253ac5750576c88e5b9a86759a49d247 (patch)
tree220caae6a2d4010eb90c60e618b615f963d63982 /configure.ac
parent1e9b958a096682b1ec111d400bd25048e3f95ed4 (diff)
config: XORG_WITH_GROFF: use HAVE_GROFF_HTML conditional
Groff uses grohtml to generate html output format. This program, in turn, uses a number of pnm* commands from the netpbm package, psselect from the psutils package and the ghostscript package. These are independently installed, so they could be missing. Skip the HTML output format if one of the dependencies is missing. The version 1.9 of the util-macros package is required. Signed-off-by: Gaetan Nadon <memsize@videotron.ca>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 6dad5a2..1f22f0f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -25,10 +25,10 @@ AC_INIT(xtrans, [1.2.5], [https://bugs.freedesktop.org/enter_bug.cgi?product=xor
AM_INIT_AUTOMAKE([foreign dist-bzip2])
AM_MAINTAINER_MODE
-# Require xorg-macrosr: XORG_DEFAULT_OPTIONS
+# Require xorg-macros: XORG_WITH_GROFF for HAVE_GROFF_HTML
m4_ifndef([XORG_MACROS_VERSION],
- [m4_fatal([must install xorg-macros 1.6 or later before running autoconf/autogen])])
-XORG_MACROS_VERSION(1.6)
+ [m4_fatal([must install xorg-macros 1.9 or later before running autoconf/autogen])])
+XORG_MACROS_VERSION(1.9)
XORG_DEFAULT_OPTIONS
XORG_ENABLE_DOCS
XORG_WITH_GROFF