summaryrefslogtreecommitdiff
path: root/config.make.in
diff options
context:
space:
mode:
authorGabriele Giacone <1o5g4r8o@gmail.com>2014-03-20 10:44:20 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2014-03-20 10:44:20 +0100
commit7b054153eccbf0843fbbfb131855f56ea5c695e0 (patch)
tree42980519516696dd3d38d6bb0948403117581d86 /config.make.in
parent2294f2fdffcf724cc28653976b8029351e41fd77 (diff)
Make bz2 and gz support optional
* config.make.in (HAVE_LIBBZ2, HAVE_LIBZ): New variables. * configure.ac (--without-libbz2, --without-libz): New options. * ext2fs/Makefile (OTHERLIBS): Make -lbz2 and -lz optional. * fatfs/Makefile (OTHERLIBS): Likewise. * isofs/Makefile (OTHERLIBS): Likewise. * libstore/Makefile (maybe_part): Remove variable. (store-types): Add part, bunzip2 and gunzip support conditionnally. (LDLIBS): Make -lbz2 and -lz optional. (OBJS): Add GUNZIP_OBJS and BUNZIP2_OBJS optional.
Diffstat (limited to 'config.make.in')
-rw-r--r--config.make.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.make.in b/config.make.in
index 5bfc777e..c5d4e68d 100644
--- a/config.make.in
+++ b/config.make.in
@@ -87,6 +87,12 @@ HAVE_DAEMON = @HAVE_DAEMON@
libdaemon_CFLAGS = @libdaemon_CFLAGS@
libdaemon_LIBS = @libdaemon_LIBS@
+# How to compile and link against libbz2.
+HAVE_LIBBZ2 = @HAVE_LIBBZ2@
+
+# How to compile and link against libz.
+HAVE_LIBZ = @HAVE_LIBZ@
+
# How to compile and link against libblkid.
HAVE_BLKID = @HAVE_BLKID@
libblkid_CFLAGS = @libblkid_CFLAGS@