diff options
Diffstat (limited to 'autoconf/configure.ac')
-rw-r--r-- | autoconf/configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/autoconf/configure.ac b/autoconf/configure.ac index f0ffcb5..bdc3151 100644 --- a/autoconf/configure.ac +++ b/autoconf/configure.ac @@ -250,6 +250,8 @@ AC_CHECK_LIB(elf, elf_begin) dnl Check for bzip2 and zlib compression libraries needed for archive reading/writing AC_CHECK_LIB(bz2,BZ2_bzCompressInit,[bzip2_found=1],[bzip2_found=0]) AC_CHECK_LIB(z,gzopen,[zlib_found=1],[zlib_found=0]) +AC_SUBST([HAVE_ZLIB],$zlib_found) +AC_SUBST([HAVE_BZIP2],$bzip2_found) if test $zlib_found -eq 1 ; then AC_DEFINE([HAVE_ZLIB],[1],[Define if zlib library is available on this platform.]) fi |