[MPlayer-cvslog] r29598 - trunk/configure

reimar subversion at mplayerhq.hu
Mon Aug 31 11:00:37 CEST 2009


Author: reimar
Date: Mon Aug 31 11:00:37 2009
New Revision: 29598

Log:
Also check linker flags to make sure that liveMedia libraries are there, too,
not just the headers.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	Mon Aug 31 10:42:36 2009	(r29597)
+++ trunk/configure	Mon Aug 31 11:00:37 2009	(r29598)
@@ -6853,7 +6853,8 @@ EOF
       _live=yes && break
   done
   if test "$_live" != yes ; then
-      if cxx_check -I/usr/include/liveMedia -I/usr/include/UsageEnvironment -I/usr/include/groupsock; then
+      ld_tmp="-lliveMedia -lgroupsock -lUsageEnvironment -lBasicUsageEnvironment -lstdc++"
+      if cxx_check -I/usr/include/liveMedia -I/usr/include/UsageEnvironment -I/usr/include/groupsock $ld_tmp; then
 	  _live_dist=yes
       fi
   fi
@@ -6866,7 +6867,7 @@ elif test "$_live_dist" = yes && test "$
   _res_comment="using distribution version"
   _live="yes"
   def_live='#define CONFIG_LIVE555 1'
-  extra_ldflags="$extra_ldflags -lliveMedia -lgroupsock -lUsageEnvironment -lBasicUsageEnvironment -lstdc++"
+  extra_ldflags="$extra_ldflags $ld_tmp"
   extra_cxxflags="-I/usr/include/liveMedia -I/usr/include/UsageEnvironment \
              -I/usr/include/BasicUsageEnvironment -I/usr/include/groupsock"
  _inputmodules="live555 $_inputmodules"


More information about the MPlayer-cvslog mailing list