Commit 15fe16f4 authored by Stefano Sabatini's avatar Stefano Sabatini

Check requirement for libx264 version in configure using

require_cpp_condition().

Originally committed as revision 15598 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent a5344cf7
...@@ -1740,7 +1740,8 @@ enabled libschroedinger && add_cflags $(pkg-config --cflags schroedinger-1.0) \ ...@@ -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) && 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 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 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 libxvid && require Xvid xvid.h xvid_global -lxvidcore
enabled mlib && require mediaLib mlib_types.h mlib_VectorSub_S16_U8_Mod -lmlib enabled mlib && require mediaLib mlib_types.h mlib_VectorSub_S16_U8_Mod -lmlib
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment