# HG changeset patch # User diego # Date 1154417672 0 # Node ID 5ff55ce59ab45a9c695b85ccfcdd7e1609d4cb66 # Parent 3cc2fa8ecb0df5a6b9cdfdc6a7f17004de56fd5e Simplify LIVE555 test and make it more consistent with the other tests. diff -r 3cc2fa8ecb0d -r 5ff55ce59ab4 TOOLS/netstream/Makefile --- a/TOOLS/netstream/Makefile Tue Aug 01 07:14:51 2006 +0000 +++ b/TOOLS/netstream/Makefile Tue Aug 01 07:34:32 2006 +0000 @@ -37,7 +37,7 @@ $(Z_LIB) \ $(GIF_LIB) \ $(SMBSUPPORT_LIB) \ - $(LIVE_LIBS) \ + $(MPLAYER_NETWORK_LIB) \ $(ARCH_LIB) \ $(COMMON_LIBS) \ -lm \ diff -r 3cc2fa8ecb0d -r 5ff55ce59ab4 configure --- a/configure Tue Aug 01 07:14:51 2006 +0000 +++ b/configure Tue Aug 01 07:34:32 2006 +0000 @@ -6061,35 +6061,22 @@ if test "$_live" = yes && test "$_network" = yes ; then _res_comment="using $_livelibdir" _def_live='#define STREAMING_LIVE555 1' - _live_libs_def="# LIVE555 Streaming Media libraries: -LIVE_LIB_DIR = $_livelibdir -LIVE_LIBS = \$(LIVE_LIB_DIR)/liveMedia/libliveMedia.a -LIVE_LIBS += \$(LIVE_LIB_DIR)/groupsock/libgroupsock.a -LIVE_LIBS += \$(LIVE_LIB_DIR)/UsageEnvironment/libUsageEnvironment.a -LIVE_LIBS += \$(LIVE_LIB_DIR)/BasicUsageEnvironment/libBasicUsageEnvironment.a -LIVE_LIBS += -lstdc++ -LIVE_INCLUDES = -I\$(LIVE_LIB_DIR)/liveMedia/include -LIVE_INCLUDES += -I\$(LIVE_LIB_DIR)/UsageEnvironment/include -LIVE_INCLUDES += -I\$(LIVE_LIB_DIR)/BasicUsageEnvironment/include -LIVE_INCLUDES += -I\$(LIVE_LIB_DIR)/groupsock/include" - _ld_live='$(LIVE_LIBS)' + _ld_live="-lstdc++ $_livelibdir/liveMedia/libliveMedia.a \ + $_livelibdir/groupsock/libgroupsock.a \ + $_livelibdir/UsageEnvironment/libUsageEnvironment.a \ + $_livelibdir/BasicUsageEnvironment/libBasicUsageEnvironment.a" + _inc_extra="$_inc_extra -I$_livelibdir/liveMedia/include \ + -I$_livelibdir/UsageEnvironment/include \ + -I$_livelibdir/BasicUsageEnvironment/include \ + -I$_livelibdir/groupsock/include" _inputmodules="live555 $_inputmodules" elif test "$_live_dist" = yes && test "$_network" = yes ; then _res_comment="using distribution version" _live="yes" _def_live='#define STREAMING_LIVE555 1' - _live_libs_def="# LIVE555 Streaming Media libraries: -LIVE_LIB_DIR = $_livelibdir -LIVE_LIBS = -lliveMedia -LIVE_LIBS += -lgroupsock -LIVE_LIBS += -lUsageEnvironment -LIVE_LIBS += -lBasicUsageEnvironment -LIVE_LIBS += -lstdc++ -LIVE_INCLUDES = -I/usr/include/liveMedia -LIVE_INCLUDES += -I/usr/include/UsageEnvironment -LIVE_INCLUDES += -I/usr/include/BasicUsageEnvironment -LIVE_INCLUDES += -I/usr/include/groupsock" - _ld_live='$(LIVE_LIBS)' + _ld_live="-lstdc++ -lliveMedia -lgroupsock -lUsageEnvironment -lBasicUsageEnvironment" + _inc_extra="$_inc_extra -I/usr/include/liveMedia -I/usr/include/UsageEnvironment \ + -I/usr/include/BasicUsageEnvironment -I/usr/include/groupsock" _inputmodules="live555 $_inputmodules" else _def_live='#undef STREAMING_LIVE555' @@ -7330,8 +7317,6 @@ PRG = $_prg PRG_MENCODER = $_prg_mencoder -$_live_libs_def - MPLAYER_NETWORK = $_network FTP = $_ftp STREAMING_LIVE555 = $_live