From 5b3a8a44d884b9672261db44af5e73d13e22d1cd Mon Sep 17 00:00:00 2001 From: Matthieu Herrb Date: Sun, 17 Jan 2010 20:48:50 +0000 Subject: Use the new XORG_WITH_XMLTO macro in configure scripts and explicitely disable it during Xenocara builds. Problem reported by kili@ who also tested this patch with an earlier version of the macro. --- lib/libXfont/Makefile.bsd-wrapper | 4 +++- lib/libXfont/configure.ac | 4 +--- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/libXfont') diff --git a/lib/libXfont/Makefile.bsd-wrapper b/lib/libXfont/Makefile.bsd-wrapper index 047c78ee9..c3c373849 100644 --- a/lib/libXfont/Makefile.bsd-wrapper +++ b/lib/libXfont/Makefile.bsd-wrapper @@ -1,8 +1,10 @@ -# $OpenBSD: Makefile.bsd-wrapper,v 1.9 2009/10/31 17:57:11 matthieu Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.10 2010/01/17 20:48:49 matthieu Exp $ .include SHARED_LIBS= Xfont 9.0 +CONFIGURE_ARGS+= --with-xmlto=no + .if ${XENOCARA_HAVE_SHARED_LIBS:L} == "no" CONFIGURE_ARGS+= --disable-loadable-font-modules .endif diff --git a/lib/libXfont/configure.ac b/lib/libXfont/configure.ac index 399f7d05d..cc75baeb5 100644 --- a/lib/libXfont/configure.ac +++ b/lib/libXfont/configure.ac @@ -50,9 +50,7 @@ PKG_PROG_PKG_CONFIG XORG_DEFAULT_OPTIONS # xmlto is used to convert doc/fontlib.xml from DocBook to PDF/HTML -AC_ARG_VAR([XMLTO], [Path to xmlto command]) -AC_PATH_PROG([XMLTO], [xmlto]) -AM_CONDITIONAL([HAVE_XMLTO], [test "x$XMLTO" != "x"]) +XORG_WITH_XMLTO # Option to enable support for building developer internals docs AC_ARG_ENABLE(devel-docs, -- cgit v1.2.3