summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2008-10-19 11:05:03 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2008-10-19 11:05:03 +0000
commitcc181b41d278c76845ac17c3fcb6c234744f3276 (patch)
tree9a0b09e80b8504a2c280dfeefd344c677867a890 /configure
parent0dba1995bc206684e380aefcf494d807fc686a6e (diff)
Make more clear the error message for the libx264 version check.
Originally committed as revision 15645 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 00c44da5be..0e871d21c6 100755
--- a/configure
+++ b/configure
@@ -1736,7 +1736,8 @@ enabled libschroedinger && add_cflags $(pkg-config --cflags 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 &&
- require_cpp_condition x264 x264.h "X264_BUILD >= 65"
+ check_cpp_condition x264.h "X264_BUILD >= 65" ||
+ die "ERROR: libx264 version must be >= 0.65."
enabled libxvid && require Xvid xvid.h xvid_global -lxvidcore
enabled mlib && require mediaLib mlib_types.h mlib_VectorSub_S16_U8_Mod -lmlib