diff options
author | iive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-22 16:14:20 +0000 |
---|---|---|
committer | iive <iive@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-22 16:14:20 +0000 |
commit | 933f3af163ed7a32657d407b9b16f7c298ae446e (patch) | |
tree | cbbee364f59d1e61d3944fca9de267691e679208 | |
parent | 37ecc6b094ad9eb1ff8bc84ee6116782f058cc39 (diff) | |
download | mpv-933f3af163ed7a32657d407b9b16f7c298ae446e.tar.bz2 mpv-933f3af163ed7a32657d407b9b16f7c298ae446e.tar.xz |
Fix building without network.
When _network=='no' then _nemesi, _live and _native_rtsp would keep their default values,
in the the case of _native_rtsp this happens to be 'yes'.
Clearing them also produces nicer output.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24593 b3059339-0415-0410-9bf9-f77b7e298cf2
-rwxr-xr-x | configure | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -6235,16 +6235,17 @@ if test "$_nemesi" = auto && test "$_network" = yes ; then _nemesi=yes fi fi -echores "$_nemesi" - if test "$_nemesi" = yes; then _native_rtsp=no _def_nemesi='#define LIBNEMESI 1' _inputmodules="nemesi $_inputmodules" else + _native_rtsp="$_network" + _nemesi=no _def_nemesi='#undef LIBNEMESI' _noinputmodules="nemesi $_noinputmodules" fi +echores "$_nemesi" echocheck "LIVE555 Streaming Media libraries" if test "$_live" = auto && test "$_network" = yes ; then @@ -6290,6 +6291,7 @@ elif test "$_live_dist" = yes && test "$_network" = yes && test "$_nemesi" = no; -I/usr/include/BasicUsageEnvironment -I/usr/include/groupsock" _inputmodules="live555 $_inputmodules" else + _live=no _def_live='#undef STREAMING_LIVE555' _noinputmodules="live555 $_noinputmodules" fi |