[configure] Append -lz to LIBS

After going to the effort of detecting zlib for cairo-deflate-stream.c, it
rather defects the purpose of the exercise (and the mingw32 build) if we
forget to add the library to LIBS.
This commit is contained in:
Chris Wilson 2008-09-16 01:34:14 +01:00
parent 87094e8c78
commit 9c207b2454

View file

@ -27,7 +27,9 @@ AC_CACHE_SAVE
dnl ===========================================================================
AC_CHECK_LIB(z, compress,
[AC_CHECK_HEADER(zlib.h, [have_libz=yes],
[AC_CHECK_HEADER(zlib.h, [
have_libz=yes
LIBS="$LIBS -lz"],
[have_libz="no (requires zlib http://www.gzip.org/zlib/)"])],
[have_libz="no (requires zlib http://www.gzip.org/zlib/)"])