diff options
author | Ignazio Sgalmuzzo <ignaker@gmail.com> | 2014-01-04 22:59:25 +0000 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-02-09 21:36:22 +0100 |
commit | b39be886ee3562ff924b631a365b1e46d424f636 (patch) | |
tree | fa806696bbabbfafe294abd287273c26e66746cd /configure.ac | |
parent | eafc1c8d2223693e96c9619897f92774735fcb49 (diff) | |
download | hurd-b39be886ee3562ff924b631a365b1e46d424f636.tar.gz hurd-b39be886ee3562ff924b631a365b1e46d424f636.tar.bz2 hurd-b39be886ee3562ff924b631a365b1e46d424f636.zip |
Replaced bz2 decompression code with libbz2
configure.ac: added check for libbz2
libstore/Makefile: linked libbz2
ext2fs/Makefile: linked libbz2
do-bunzip2.c: rewritten do_bunzip2 using libbz2 calls. Removed no longer needed functions.
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index d822dd2b..cea25767 100644 --- a/configure.ac +++ b/configure.ac @@ -315,6 +315,8 @@ PKG_CHECK_MODULES([libblkid], [blkid], AC_SUBST([libblkid_LIBS]) AC_SUBST([libblkid_CFLAGS]) +AC_CHECK_LIB(bz2, BZ2_bzCompress, , AC_MSG_ERROR([libbz2 is required.])) + AC_CONFIG_FILES([config.make ${makefiles}]) AC_OUTPUT |