comparison configure @ 31308:793f985a762c

Extend libvpx configure check to reject too old versions.
author reimar
date Sun, 13 Jun 2010 08:19:12 +0000
parents dc6a2cb5e0b4
children 22713e4fde5f
comparison
equal deleted inserted replaced
31307:dc6a2cb5e0b4 31308:793f985a762c
7686 res_comment="libavcodec (static) is required by libvpx, sorry" 7686 res_comment="libavcodec (static) is required by libvpx, sorry"
7687 else 7687 else
7688 cat > $TMPC << EOF 7688 cat > $TMPC << EOF
7689 #include <vpx/vpx_decoder.h> 7689 #include <vpx/vpx_decoder.h>
7690 #include <vpx/vp8dx.h> 7690 #include <vpx/vp8dx.h>
7691 struct vpx_codec_ctx decoder;
7691 int main(void) { vpx_codec_dec_init(NULL, &vpx_codec_vp8_dx_algo, NULL, 0); return 0; } 7692 int main(void) { vpx_codec_dec_init(NULL, &vpx_codec_vp8_dx_algo, NULL, 0); return 0; }
7692 EOF 7693 EOF
7693 cc_check -lvpx && _libvpx_lavc=yes && extra_ldflags="$extra_ldflags -lvpx" 7694 cc_check -lvpx && _libvpx_lavc=yes && extra_ldflags="$extra_ldflags -lvpx"
7694 fi 7695 fi
7695 fi 7696 fi