summaryrefslogtreecommitdiff
path: root/packages/mplayer/mplayer-1.0pre7/zlib.patch
blob: 6e0918d8ed9404b381cdae675a732a6876efdd23 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- ./configure.old	2004-09-24 01:03:55.000000000 +0930
+++ ./configure	2004-09-24 01:04:18.000000000 +0930
@@ -4313,13 +4313,7 @@
 echores "$_fribidi"
 
 
-echocheck "zlib"
-cat > $TMPC << EOF
-#include <zlib.h>
-int main(void) { (void) inflate(0, Z_NO_FLUSH); return 0; }
-EOF
-_zlib=no
-cc_check -lz && _zlib=yes
+_zlib=yes
 if test "$_zlib" = yes ; then
   _def_zlib='#define HAVE_ZLIB 1'
   _ld_zlib='-lz'