summaryrefslogtreecommitdiff
blob: 2dcc74fc6bab1cba348d46151ec55b078db2325b (plain)
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
http://bugs.gentoo.org/137871

--- converter/other/Makefile
+++ converter/other/Makefile
@@ -7,14 +7,6 @@
 
 include $(BUILDDIR)/Makefile.config
 
-ifeq ($(shell xml2-config --version),)
-  XML2_LIBS=NONE
-  XML2_CFLAGS=NONE
-else
-  XML2_LIBS=$(shell xml2-config --libs)
-  XML2_CFLAGS=$(shell xml2-config --cflags)
-endif
-
 SUBDIRS = jbig pnmtopalm jpeg2000 cameratopam pamtosvg
 ifneq ($(BUILD_FIASCO), N)
   SUBDIRS += fiasco
--- Makefile.config.in
+++ Makefile.config.in
@@ -419,6 +419,16 @@
 ZHDR_DIR = 
 #ZLIB = libz.so
 
+# The XML2 library
+
+ifeq ($(shell xml2-config --version),)
+  XML2_LIBS=NONE
+  XML2_CFLAGS=NONE
+else
+  XML2_LIBS=$(shell xml2-config --libs)
+  XML2_CFLAGS=$(shell xml2-config --cflags)
+endif
+
 # The JBIG lossless image compression library (aka JBIG-KIT):
 
 JBIGLIB = $(BUILDDIR)/converter/other/jbig/libjbig.a