]> granicus.if.org Git - xz/commit
xz: Make xz buildable even when encoders or decoders are disabled.
authorLasse Collin <lasse.collin@tukaani.org>
Tue, 3 Nov 2015 18:29:33 +0000 (20:29 +0200)
committerLasse Collin <lasse.collin@tukaani.org>
Tue, 3 Nov 2015 18:29:33 +0000 (20:29 +0200)
commitcb3111e3ed84152912b5138d690c8d9f00c6ef02
treea706e5bcb842a342b8e3290e5b961e15467ee3c8
parent4cc584985c0b7a13901da1b7a64ef9f7cc36e8ab
xz: Make xz buildable even when encoders or decoders are disabled.

The patch is quite long but it's mostly about adding new #ifdefs
to omit code when encoders or decoders have been disabled.

This adds two new #defines to config.h: HAVE_ENCODERS and
HAVE_DECODERS.
configure.ac
src/xz/Makefile.am
src/xz/args.c
src/xz/coder.c
src/xz/main.c
src/xz/private.h