X-Git-Url: https://git.wh0rd.org/?p=dump.git;a=blobdiff_plain;f=configure.in;h=2d691572cae369b5b021bdda85843ce683f37bba;hp=62ec978eb144a0650c6d7d0dfc00ac0bdce51c28;hb=7c89ba30ee95a59c694c6542b535b4d29cce8fdd;hpb=1a394135e58799a4fa48e87ab32e85a4d0bf5139 diff --git a/configure.in b/configure.in index 62ec978..2d69157 100644 --- a/configure.in +++ b/configure.in @@ -532,7 +532,7 @@ dnl dnl Check for zlib headers and libraries dnl AC_CHECK_HEADER(zlib.h, [zlib_h=yes], [zlib_h=no], [-]) -AC_CHECK_LIB(z, compress2, [zlib_lib=yes], [zlib_lib=no]) +AC_CHECK_LIB(z, zlibVersion, [zlib_lib=yes], [zlib_lib=no]) if test "$zlib_h" = yes -a "$zlib_lib" = yes; then if test "$STATICZ" = yes; then ZLIB="-Wl,-Bstatic -lz -Wl,-Bdynamic"