summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorcehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-05-30 14:29:18 +0000
committercehoyos <cehoyos@b3059339-0415-0410-9bf9-f77b7e298cf2>2010-05-30 14:29:18 +0000
commit971633b168b062c8a46c54e19b238c367998defb (patch)
tree41c7e097774b902c6976f9d9bb9e453d80bbe858 /configure
parent49c904b517a6bbb789ceaea80cb40323dadc1d29 (diff)
downloadmpv-971633b168b062c8a46c54e19b238c367998defb.tar.bz2
mpv-971633b168b062c8a46c54e19b238c367998defb.tar.xz
Fix compilation without librtmp.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31285 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 3 insertions, 0 deletions
diff --git a/configure b/configure
index e949f82e1d..312d46ee52 100755
--- a/configure
+++ b/configure
@@ -7234,9 +7234,11 @@ EOF
fi
fi
if test "$_librtmp" = yes && test "$_network" = yes; then
+ nolibrtmp=no
def_librtmp='#define CONFIG_LIBRTMP 1'
inputmodules="librtmp $inputmodules"
else
+ nolibrtmp=yes
_librtmp=no
def_librtmp='#undef CONFIG_LIBRTMP'
noinputmodules="librtmp $noinputmodules"
@@ -8792,6 +8794,7 @@ CONFIG_RDFT = yes
$mak_hardcoded_tables
$mak_libavcodec_mpegaudio_hp
+!CONFIG_LIBRTMP = $nolibrtmp
CONFIG_LIBRTMP = $_librtmp
CONFIG_BZLIB = $bzlib