[Ffmpeg-devel] Mac Os X issues

Diego Biurrun diego
Fri Dec 23 13:15:18 CET 2005


On Fri, Dec 23, 2005 at 07:33:08PM +0800, carboncopy public wrote:
> > >
> > Well, I am looking in configure script, looking to how and what $zlib
> > is being assigned. Maybe i'll echo it out everytime it is being used
> > and after
> 
> zlib condition 1 - yes
> zlib condition 2 - yes
> zlib condition 3 - no
> zlib condition 4 - no
> 
> zlib checking fails here :
> 
> echo zlib condition 2 - $zlib
> if test "$zlib" = "yes"; then
> # check for zlib - mmu_man
> cat > $TMPC << EOF
> #include <zlib.h>
> int main ( void ) {
> if (zlibVersion() != ZLIB_VERSION)
>    puts("zlib version differs !!!");
>    return 1;
> return 0;
> }
> EOF
> $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
> echo zlib condition 3 - $zlib

Do you have zlib.h?

Diego





More information about the ffmpeg-devel mailing list