Mercurial > mplayer.hg
comparison configure @ 7429:7a221aaf7012
Enable the LIVE lib only if the network layer (STREAMING) is enable.
Fixed the bug where if streaming disable and live enable, the live config
test will reenable the network layer.
author | bertrand |
---|---|
date | Tue, 17 Sep 2002 19:47:55 +0000 |
parents | ad967766679a |
children | ad00ad5f25a9 |
comparison
equal
deleted
inserted
replaced
7428:29cce5d75dca | 7429:7a221aaf7012 |
---|---|
3596 fi; | 3596 fi; |
3597 done | 3597 done |
3598 fi | 3598 fi |
3599 | 3599 |
3600 echocheck "LIVE.COM Streaming Media libraries" | 3600 echocheck "LIVE.COM Streaming Media libraries" |
3601 if test "$_live" = auto ; then | 3601 if test "$_live" = auto && test "$_streaming" = yes ; then |
3602 _live=yes | 3602 _live=yes |
3603 test "$_livelibdir" || _live=no | 3603 test "$_livelibdir" || _live=no |
3604 # TODO: deeper, more reliable test of libs, and version! | 3604 # TODO: deeper, more reliable test of libs, and version! |
3605 # (users may have empty live/ dir or something different there, for | 3605 # (users may have empty live/ dir or something different there, for |
3606 # example 'live config files', or they may have old, incompatibel version) | 3606 # example 'live config files', or they may have old, incompatibel version) |
3607 fi | 3607 fi |
3608 if test "$_live" = yes ; then | 3608 if test "$_live" = yes && test "$_streaming" = yes ; then |
3609 echores "yes (using $_livelibdir)" | 3609 echores "yes (using $_livelibdir)" |
3610 _streaming=yes | |
3611 _def_live='#define STREAMING_LIVE_DOT_COM 1' | 3610 _def_live='#define STREAMING_LIVE_DOT_COM 1' |
3612 _live_libs_def="# LIVE.COM Streaming Media libraries: | 3611 _live_libs_def="# LIVE.COM Streaming Media libraries: |
3613 LIVE_LIB_DIR = $_livelibdir | 3612 LIVE_LIB_DIR = $_livelibdir |
3614 LIVE_LIBS = \$(LIVE_LIB_DIR)/liveMedia/libliveMedia.a | 3613 LIVE_LIBS = \$(LIVE_LIB_DIR)/liveMedia/libliveMedia.a |
3615 LIVE_LIBS += \$(LIVE_LIB_DIR)/groupsock/libgroupsock.a | 3614 LIVE_LIBS += \$(LIVE_LIB_DIR)/groupsock/libgroupsock.a |