xz/src/liblzma/common
Lasse Collin f42ee98166 Build system fixes
Don't use libtool convenience libraries to avoid recently
discovered long-standing subtle but somewhat severe bugs
in libtool (at least 1.5.22 and 2.2.6 are affected). It
was found when porting XZ Utils to Windows
<http://lists.gnu.org/archive/html/libtool/2009-06/msg00070.html>
but the problem is significant also e.g. on GNU/Linux.

Unless --disable-shared is passed to configure, static
library built from a set of convenience libraries will
contain PIC objects. That is, while libtool builds non-PIC
objects too, only PIC objects will be used from the
convenience libraries. On 32-bit x86 (tested on mobile XP2400+),
using PIC instead of non-PIC makes the decompressor 10 % slower
with the default CFLAGS.

So while xz was linked against static liblzma by default,
it got the slower PIC objects unless --disable-shared was
used. I tend develop and benchmark with --disable-shared
due to faster build time, so I hadn't noticed the problem
in benchmarks earlier.

This commit also adds support for building Windows resources
into liblzma and executables.
2009-06-30 17:09:57 +03:00
..
Makefile.inc Build system fixes 2009-06-30 17:09:57 +03:00
alone_decoder.c Fixed a crash in liblzma. 2009-04-28 23:08:32 +03:00
alone_decoder.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
alone_encoder.c Fixed a crash in liblzma. 2009-04-28 23:08:32 +03:00
auto_decoder.c Fixed a crash in liblzma. 2009-04-28 23:08:32 +03:00
block_buffer_decoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
block_buffer_encoder.c Make the raw value of the Check field available to applications 2009-05-26 14:48:48 +03:00
block_decoder.c Make the raw value of the Check field available to applications 2009-05-26 14:48:48 +03:00
block_decoder.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
block_encoder.c Make the raw value of the Check field available to applications 2009-05-26 14:48:48 +03:00
block_encoder.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
block_header_decoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
block_header_encoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
block_util.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
bsr.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
chunk_size.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
common.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
common.h Build system fixes 2009-06-30 17:09:57 +03:00
easy_buffer_encoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
easy_decoder_memusage.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
easy_encoder.c Fixed a crash in liblzma. 2009-04-28 23:08:32 +03:00
easy_encoder_memusage.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
easy_preset.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
easy_preset.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
filter_buffer_decoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
filter_buffer_encoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
filter_common.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
filter_common.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
filter_decoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
filter_decoder.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
filter_encoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
filter_encoder.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
filter_flags_decoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
filter_flags_encoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
index.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
index.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
index_decoder.c Fixed a crash in liblzma. 2009-04-28 23:08:32 +03:00
index_encoder.c Fixed a crash in liblzma. 2009-04-28 23:08:32 +03:00
index_encoder.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
index_hash.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
stream_buffer_decoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
stream_buffer_encoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
stream_decoder.c Fixed a crash in liblzma. 2009-04-28 23:08:32 +03:00
stream_decoder.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
stream_encoder.c Fixed a crash in liblzma. 2009-04-28 23:08:32 +03:00
stream_encoder.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
stream_flags_common.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
stream_flags_common.h Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
stream_flags_decoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
stream_flags_encoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
vli_decoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
vli_encoder.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00
vli_size.c Put the interesting parts of XZ Utils into the public domain. 2009-04-13 11:27:40 +03:00