summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 74e1c14..6f5b54b 100755
--- a/configure
+++ b/configure
@@ -233,10 +233,12 @@ check_zlib()
void main(void)
{
gzFile fp;
+
+ fp = gzopen("foo.gz", "rb");
}
EOF
- $CC -o $TMPDIR/ztest $TMPDIR/ztest.c >> $TMPDIR/config.log 2>&1
+ $CC -o $TMPDIR/ztest $TMPDIR/ztest.c -lz >> $TMPDIR/config.log 2>&1
if [ ! -x $TMPDIR/ztest ] ; then
echo "[NO]"
MISSING_DEFS=1