Prefer dist-xz to dist-bzip2. This requires automake 1.11.
authorRalph Giles <giles@xiph.org>
Tue, 2 Nov 2010 21:22:37 +0000 (21:22 +0000)
committerRalph Giles <giles@xiph.org>
Tue, 2 Nov 2010 21:22:37 +0000 (21:22 +0000)
The newer xz compression utility offers superiour compression
efficiency *and* speed over bzip2. Since adoption of bzip2
never became near universal, we still provide gzip for those
on older or more conservative systems. Furthermore, for smaller
archives the performance penalty often doesn't pay for the savings
in transfer time we might as well replace the 'smaller' bzip2
option with xz, which at least does better in this regard.

Since Automake 1.11 isn't available in all environments yes
(e.g. some scratchbox toolchains) we leave the old Makefile.am
AUTOMAKE_OPTIONS line commented out. Just uncomment this to
build on systems with older automakes.

svn path=/trunk/vorbis/; revision=17614

Makefile.am

index 7ddc442..e05d521 100644 (file)
@@ -1,6 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
-AUTOMAKE_OPTIONS = 1.7 foreign dist-zip dist-bzip2
+#AUTOMAKE_OPTIONS = 1.7 foreign dist-zip dist-bzip2
+AUTOMAKE_OPTIONS = foreign 1.11 dist-zip dist-xz
 
 SUBDIRS = m4 include vq lib test doc