[MPlayer-cvslog] r19288 - in trunk: TOOLS/netstream/Makefile configure

diego subversion at mplayerhq.hu
Tue Aug 1 09:34:32 CEST 2006


Author: diego
Date: Tue Aug  1 09:34:32 2006
New Revision: 19288

Modified:
   trunk/TOOLS/netstream/Makefile
   trunk/configure

Log:
Simplify LIVE555 test and make it more consistent with the other tests.


Modified: trunk/TOOLS/netstream/Makefile
==============================================================================
--- trunk/TOOLS/netstream/Makefile	(original)
+++ trunk/TOOLS/netstream/Makefile	Tue Aug  1 09:34:32 2006
@@ -37,7 +37,7 @@
 	$(Z_LIB) \
 	$(GIF_LIB) \
 	$(SMBSUPPORT_LIB) \
-	$(LIVE_LIBS) \
+	$(MPLAYER_NETWORK_LIB) \
 	$(ARCH_LIB) \
 	$(COMMON_LIBS) \
 	-lm \

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Tue Aug  1 09:34:32 2006
@@ -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



More information about the MPlayer-cvslog mailing list