changeset 34873:f1b634f51b97

Support using the pic variants of the live555 libs.
author reimar
date Tue, 22 May 2012 18:01:51 +0000
parents b17f43c85802
children 9fbab723e75a
files configure
diffstat 1 files changed, 4 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Tue May 22 17:51:08 2012 +0000
+++ b/configure	Tue May 22 18:01:51 2012 +0000
@@ -6693,11 +6693,10 @@
       _live=yes && break
   done
   if test "$_live" != yes ; then
-      ld_tmp="-lliveMedia -lgroupsock -lBasicUsageEnvironment -lUsageEnvironment -lstdc++"
-      inc_tmp="-I/usr/include/liveMedia -I/usr/include/UsageEnvironment -I/usr/include/BasicUsageEnvironment -I/usr/include/groupsock"
-      if cxx_check $inc_tmp $ld_tmp; then
-          _live_dist=yes
-      fi
+      for ld_tmp in "-lliveMedia -lgroupsock -lBasicUsageEnvironment -lUsageEnvironment -lstdc++" "-lliveMedia_pic -lgroupsock_pic -lBasicUsageEnvironment_pic -lUsageEnvironment_pic -lstdc++" ; do
+          inc_tmp="-I/usr/include/liveMedia -I/usr/include/UsageEnvironment -I/usr/include/BasicUsageEnvironment -I/usr/include/groupsock"
+          cxx_check $inc_tmp $ld_tmp && _live_dist=yes && break
+      done
   fi
 fi
 if test "$_live" = yes && test "$networking" = yes; then