[llvm-commits] CVS: llvm/autoconf/configure.ac

Reid Spencer reid at x10sys.com
Mon Oct 4 00:05:18 PDT 2004



Changes in directory llvm/autoconf:

configure.ac updated: 1.120 -> 1.121
---
Log message:

Provide support for auto-detection and use of compression libraries.


---
Diffs of the changes:  (+2 -0)

Index: llvm/autoconf/configure.ac
diff -u llvm/autoconf/configure.ac:1.120 llvm/autoconf/configure.ac:1.121
--- llvm/autoconf/configure.ac:1.120	Sat Oct  2 03:50:58 2004
+++ llvm/autoconf/configure.ac	Mon Oct  4 02:05:07 2004
@@ -250,6 +250,8 @@
 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






More information about the llvm-commits mailing list