aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2008-10-12 09:19:33 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2008-10-12 09:19:33 +0000
commit15fe16f4a44a2d54a4c99edb1cd7504bc7fc5871 (patch)
tree31fcefbd6ae19d9ecb7ae5b5ace648fb06703934
parenta5344cf7ec237cb0f68c14bca68636f92bfc224b (diff)
downloadffmpeg-15fe16f4a44a2d54a4c99edb1cd7504bc7fc5871.tar.gz
Check requirement for libx264 version in configure using
require_cpp_condition(). Originally committed as revision 15598 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index f45495ffbd..c702893894 100755
--- a/configure
+++ b/configure
@@ -1740,7 +1740,8 @@ enabled libschroedinger && add_cflags $(pkg-config --cflags schroedinger-1.0) \
&& require libschroedinger schroedinger/schro.h schro_init $(pkg-config --libs schroedinger-1.0)
enabled libtheora && require libtheora theora/theora.h theora_info_init -ltheora -logg
enabled libvorbis && require libvorbis vorbis/vorbisenc.h vorbis_info_init -lvorbisenc -lvorbis -logg
-enabled libx264 && require x264 x264.h x264_encoder_open -lx264 -lm
+enabled libx264 && require x264 x264.h x264_encoder_open -lx264 -lm \
+ && require_cpp_condition x264 x264.h "X264_BUILD >= 65"
enabled libxvid && require Xvid xvid.h xvid_global -lxvidcore
enabled mlib && require mediaLib mlib_types.h mlib_VectorSub_S16_U8_Mod -lmlib