From 57f0ec6eeef9f0cabd90020df7d97ad135858d42 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= <mans@mansr.com>
Date: Sun, 19 Oct 2008 11:44:44 +0000
Subject: [PATCH] fix configure with libx264 disabled

Originally committed as revision 15647 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 configure | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index 2ef04987564..5deab4a27e9 100755
--- a/configure
+++ b/configure
@@ -1728,8 +1728,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 &&
-                      check_cpp_condition x264.h "X264_BUILD >= 65" ||
-                      die "ERROR: libx264 version must be >= 0.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
 
-- 
GitLab