[cairo-commit] configure.ac

Behdad Esfahbod behdad at kemper.freedesktop.org
Mon Sep 15 18:50:49 PDT 2008


 configure.ac |    4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

New commits:
commit b4b65a7890c5b8d95f5bbc39d0f35a3d54088036
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Mon Sep 15 21:50:27 2008 -0400

    Revert "[configure] Append -lz to LIBS"
    
    This reverts commit 9c207b24542edb2e8e388329471ab9e7d7d61ff9.
    
    I pushed a proper fix in last commit.

diff --git a/configure.ac b/configure.ac
index 9019ee6..c48a5df 100644
--- a/configure.ac
+++ b/configure.ac
@@ -27,9 +27,7 @@ AC_CACHE_SAVE
 dnl ===========================================================================
 
 AC_CHECK_LIB(z, compress,
-	 [AC_CHECK_HEADER(zlib.h, [
-	  have_libz=yes
-	  LIBS="$LIBS -lz"],
+	 [AC_CHECK_HEADER(zlib.h, [have_libz=yes],
 	 [have_libz="no (requires zlib http://www.gzip.org/zlib/)"])],
 	 [have_libz="no (requires zlib http://www.gzip.org/zlib/)"])
 


More information about the cairo-commit mailing list