summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2010-07-03 18:50:40 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2010-07-03 18:50:40 +0000
commit42ebfc54b839a687f803b0353cfc64cfd492cba1 (patch)
tree820b3614ad46aa2b926ff1474fd42f44abd9a920 /configure
parenta075902f3d98ed33cd5ee0e746978d89999195a3 (diff)
configure: enclose library check for librtmp in brackets
otherwise it would always fail if librtmp was not enabled. Originally committed as revision 24026 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index e4f99cfe63..dceb4b5c77 100755
--- a/configure
+++ b/configure
@@ -2549,8 +2549,8 @@ enabled libnut && require libnut libnut.h nut_demuxer_init -lnut
enabled libopencore_amrnb && require libopencore_amrnb opencore-amrnb/interf_dec.h Decoder_Interface_init -lopencore-amrnb
enabled libopencore_amrwb && require libopencore_amrwb opencore-amrwb/dec_if.h D_IF_init -lopencore-amrwb
enabled libopenjpeg && require libopenjpeg openjpeg.h opj_version -lopenjpeg
-enabled librtmp && check_lib librtmp/rtmp.h RTMP_Socket $(pkg-config --libs librtmp) ||
- die "ERROR: librtmp not found or RTMP_Socket() missing, librtmp version must be >= 2.2.f"
+enabled librtmp && { check_lib librtmp/rtmp.h RTMP_Socket $(pkg-config --libs librtmp) ||
+ die "ERROR: librtmp not found or RTMP_Socket() missing, librtmp version must be >= 2.2.f"; }
enabled libschroedinger && add_cflags $(pkg-config --cflags schroedinger-1.0) &&
require libschroedinger schroedinger/schro.h schro_init $(pkg-config --libs schroedinger-1.0)
enabled libspeex && require libspeex speex/speex.h speex_decoder_init -lspeex