Commit f021bd3d authored by Pedro Gonnet's avatar Pedro Gonnet
Browse files

straight-forward check for zlib.


Former-commit-id: 15e275663d2e1d341bbc7d61529099cfd6e2ebbf
parent eac2666f
......@@ -58,7 +58,10 @@ ACX_PTHREAD([LIBS="$PTHREAD_LIBS $LIBS" CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
non-standard location.]))
# check for zlib
AX_CHECK_ZLIB()
AC_CHECK_LIB(z,gzopen,[
AC_DEFINE([HAVE_LIBZ],[1],[Set to 1 if zlib is installed.])
LDFLAGS="$LDFLAGS -lz"
],[])
# check for memalign
AX_FUNC_POSIX_MEMALIGN
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment