summaryrefslogtreecommitdiff
path: root/textproc/xmlroff/files/patch-configure.ac
blob: 167fdcd402ef5a6d9f4b57a6423a16c5812bbcb6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
--- configure.ac.orig	2009-03-11 21:08:57 UTC
+++ configure.ac
@@ -230,30 +230,26 @@ fi
 AM_CONDITIONAL(ENABLE_MAN, test x$enable_man != xno)
 
 #
-# Checks for libxslt
+# Checks for libfo
 #
-# Variables for libxslt will also include values appropriate for
-# libxml2.
-#
-LIBXSLT_PACKAGES=libxslt
-LIBXSLT_REQUIRED_VERSION=1.0.3
+LIBFO_PACKAGES=libfo-0.6
+LIBFO_REQUIRED_VERSION=0.6
 
-have_libxslt=false
+have_libfo=false
 
-PKG_CHECK_MODULES(LIBXSLT,
-		  $LIBXSLT_PACKAGES >= $LIBXSLT_REQUIRED_VERSION,
-		  have_libxslt=true,
+PKG_CHECK_MODULES(LIBFO,
+		  $LIBFO_PACKAGES >= $LIBFO_REQUIRED_VERSION,
+		  have_libfo=true,
 		  :)
 
-if $have_libxslt ; then : ; else
+if $have_libfo ; then : ; else
       AC_MSG_ERROR([
-*** Libxslt $LIBXSLT_REQUIRED_VERSION or newer is required.
-*** Libxslt is available at http://xsltsoft.org/.
+*** Libfo $LIBFO_REQUIRED_VERSION or newer is required.
   ])
 fi
 
-AC_SUBST(LIBXSLT_LIBS)
-AC_SUBST(LIBXSLT_CFLAGS)
+AC_SUBST(LIBFO_LIBS)
+AC_SUBST(LIBFO_CFLAGS)
 
 AC_ARG_ENABLE(rebuilds,
 	      AC_HELP_STRING([--disable-rebuilds],
@@ -623,14 +619,6 @@ cunit/Makefile
 docs/Makefile
 examples/Makefile
 examples/xml2003/Makefile
-libfo/Makefile
-libfo/area/Makefile
-libfo/datatype/Makefile
-libfo/expr/Makefile
-libfo/fo/Makefile
-libfo/property/Makefile
-libfo/util/Makefile
-libfo-0.6.pc
 xmlroff.spec
 xmlroff/Makefile
 catalog.xml