# HG changeset patch # User cehoyos # Date 1275229758 0 # Node ID e02877d8647e7edfe31ef4f39ecce137a0af6ae9 # Parent 635fc9c0ba3b63e3ca0253f4bdbe2440f0313632 Fix compilation without librtmp. diff -r 635fc9c0ba3b -r e02877d8647e configure --- a/configure Sun May 30 13:51:24 2010 +0000 +++ b/configure Sun May 30 14:29:18 2010 +0000 @@ -7234,9 +7234,11 @@ 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 @@ $mak_hardcoded_tables $mak_libavcodec_mpegaudio_hp +!CONFIG_LIBRTMP = $nolibrtmp CONFIG_LIBRTMP = $_librtmp CONFIG_BZLIB = $bzlib