zlib detection fix by (Gildas Bazin <gbazin altern org<)

Originally committed as revision 4048 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2005-03-16 19:04:54 +00:00
parent 15b34f6386
commit e27ca59b0e

2
configure vendored
View File

@ -854,7 +854,7 @@ if (zlibVersion() != ZLIB_VERSION)
return 0;
}
EOF
$cc $CFLAGS -o $TMPE $TMPC -lz 2> /dev/null || zlib="no"
$cc $CFLAGS $LDFLAGS -o $TMPE $TMPC -lz 2> /dev/null || zlib="no"
# $TMPE 2> /dev/null > /dev/null || zlib="no"
# XXX: more tests needed - runtime test
fi