aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/Makefile
diff options
context:
space:
mode:
authorRoger Pau Monne <roger.pau@entel.upc.edu>2012-03-14 14:20:58 +0000
committerRoger Pau Monne <roger.pau@entel.upc.edu>2012-03-14 14:20:58 +0000
commitde0f8c7cc2a266f4ad569e0202464a8870d3a318 (patch)
treeed50fa38c51ea41a3e59b5829a7cea0633fb7f03 /tools/libxc/Makefile
parent35ab4e22797545b4ed3f5430fb18d9ca002bf373 (diff)
downloadxen-de0f8c7cc2a266f4ad569e0202464a8870d3a318.tar.gz
xen-de0f8c7cc2a266f4ad569e0202464a8870d3a318.tar.bz2
xen-de0f8c7cc2a266f4ad569e0202464a8870d3a318.zip
autoconf: add missing compression checks for libxc
Move missing checks from tools/libxc/Makefile to configure script. Signed-off-by: Roger Pau Monne <roger.pau@entel.upc.edu> Acked-by: Ian Jackson <ian.jackson@eu.citrix.com> Acked-by: Jan Beulich <JBeulich@suse.com> Committed-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxc/Makefile')
-rw-r--r--tools/libxc/Makefile15
1 files changed, 1 insertions, 14 deletions
diff --git a/tools/libxc/Makefile b/tools/libxc/Makefile
index f2e1ba78a8..55eb755059 100644
--- a/tools/libxc/Makefile
+++ b/tools/libxc/Makefile
@@ -172,20 +172,7 @@ libxenguest.so.$(MAJOR): libxenguest.so.$(MAJOR).$(MINOR)
ifeq ($(CONFIG_MiniOS),y)
zlib-options =
else
-zlib-options = $(shell \
- (. ../check/funcs.sh; \
- if has_header bzlib.h; then \
- echo "-DHAVE_BZLIB"; \
- echo "-lbz2"; \
- fi; \
- if has_header lzma.h; then \
- echo "-DHAVE_LZMA"; \
- echo "-llzma"; \
- fi; \
- if has_header lzo/lzo1x.h; then \
- echo "-DHAVE_LZO1X"; \
- echo "-llzo2"; \
- fi) | grep $(1))
+zlib-options = $(ZLIB)
endif
xc_dom_bzimageloader.o: CFLAGS += $(call zlib-options,D)